Ticket #2399: buttonAssets.patch

File buttonAssets.patch, 1.3 KB (added by pap, 15 years ago)

Implementation patch

  • modules/org.sophie2.main.func.links/src/main/java/org/sophie2/main/func/links/LinksHudLogic.java

    ### Eclipse Workspace Patch 1.0
    #P sophie
     
    286286                 *  
    287287                 * The string argument specifies a human-readable description of the action. 
    288288                 */ 
    289                 @EventParams({Link.class, String.class}) 
     289                @EventParams({Link.class, Message.class}) 
    290290                SET_LINK; 
    291291                 
    292292                /** 
  • modules/org.sophie2.base.commons/src/main/java/org/sophie2/base/commons/util/ImmImage.java

     
    330330                        // Determine the type of transparency of the new buffered image 
    331331                        int transparency = Transparency.OPAQUE; 
    332332                        if (hasAlpha) { 
    333                                 transparency = Transparency.BITMASK; 
     333                                transparency = Transparency.TRANSLUCENT; 
    334334                        } 
    335335 
    336336                        // Create the buffered image