Browse Source

Fl_Tiled_Image: Start tiling at 0,0--don't try to center image.

tags/v1.3.1000
Jonathan Moore Liles 12 years ago
parent
commit
b6da64a71d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/Fl_Tiled_Image.cxx

+ 3
- 3
src/Fl_Tiled_Image.cxx View File

@@ -115,9 +115,9 @@ Fl_Tiled_Image::draw(int X, // I - Starting X position

X += cx;
Y += cy;
X = X - (X % image_->w());
Y = Y - (Y % image_->h());
/* X = X - (X % image_->w()); */
/* Y = Y - (Y % image_->h()); */

W += X;
H += Y;


Loading…
Cancel
Save