Changeset 816


Ignore:
Timestamp:
02/03/14 16:21:42 (10 years ago)
Author:
jts21
Message:

Fix bug where scaled images without repeat or crop values set would become tiled. (Now they instead just get no-repeat set)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/io/WebParser.java

    r815 r816  
    988988                ImageIO.write(img, "png", out);
    989989
     990                if (repeat == null && cropEndX == null && cropStartX == null && cropEndY == null && cropStartY == null) {
     991                        repeat = "no-repeat";
     992                }
     993               
    990994                if (cropEndX == null || cropStartX == null || cropEndY == null || cropStartY == null) {
    991995                        cropStartX = 0;
Note: See TracChangeset for help on using the changeset viewer.