Ignore:
Timestamp:
Mar 26, 2011, 5:47:02 PM (13 years ago)
Author:
mlg
Message:

Fixes one major display bug
There were displays bugs with the horizontal splitpane where trying to resize it.
I have fixed by changing the original scale (1.0 to 0.99). Don't know why I had to do this, bug it seems to fix the bug
Fixes an other bug in the image browser : the image list was kept when browsing through the different categories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/browser/BrowserImagePanel.java

    r8831 r9878  
    5353   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
    5454   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    55    
     55
    5656 * Panel qui affiche une image
    5757 * @author mael
     
    6161        MouseListener {
    6262    private BufferedImage image;
    63     private double scale = 1.0;
     63    //FIXME where I put scale = 1.0, there are display bugs (easy to reproduce : just have to move the horizontal
     64    //splitpane where an image is loaded.
     65    private double scale = 0.99;
    6466    boolean flipH = false;
    6567    boolean flipV = false;
Note: See TracChangeset for help on using the changeset viewer.