Changeset 6966


Ignore:
Timestamp:
09/19/10 16:34:02 (9 years ago)
Author:
mlg
Message:

Bug fixing :
When drawing a rectangle to clip an image and choosing next or previous image, the rectangle was still displayed. This is now fixed.

Location:
extensions/jiwigo/trunk/src/main
Files:
3 edited

Legend:

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

    r6958 r6966  
    320320            } 
    321321        } else if (e.getSource().equals(next)) { 
     322            imagePanel.setDrawSelection(false); 
    322323            //on appelle d'abord la fonction de l'images panel qui increment l'image courante 
    323324            ImagesManagement.next(); 
     
    332333 
    333334        } else if (e.getSource().equals(previous)) { 
     335            imagePanel.setDrawSelection(false); 
    334336            //on appelle d'abord la fonction de l'images panel qui décrémente l'image courante 
    335337            ImagesManagement.previous(); 
  • extensions/jiwigo/trunk/src/main/java/fr/mael/jiwigo/ui/browser/BrowserImagePanel.java

    r6958 r6966  
    268268    } 
    269269 
     270    /** 
     271     * @return the drawSelection 
     272     */ 
     273    public boolean isDrawSelection() { 
     274        return drawSelection; 
     275    } 
     276 
     277    /** 
     278     * @param drawSelection the drawSelection to set 
     279     */ 
     280    public void setDrawSelection(boolean drawSelection) { 
     281        this.drawSelection = drawSelection; 
     282    } 
     283 
    270284    @Override 
    271285    public void mouseWheelMoved(MouseWheelEvent arg0) { 
  • extensions/jiwigo/trunk/src/main/resources/fr/mael/jiwigo/trad/messages_fr.properties

    r6958 r6966  
    3636thumbviewer_closeOthers=Fermer les autres 
    3737thumbviewer_closeAll=Fermer tous 
    38  
    3938 
    4039##################################################### 
Note: See TracChangeset for help on using the changeset viewer.