mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-05 17:44:55 -06:00
CtrlCore: Fixed NOGTK issue
git-svn-id: svn://ultimatepp.org/upp/trunk@12397 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
71ca8e382d
commit
fdcee073e2
3 changed files with 1 additions and 4 deletions
|
|
@ -234,7 +234,6 @@ void AutoCrop(Image *m, int count, RGBA bg)
|
|||
for(int i = 1; i < count; i++)
|
||||
r.Union(FindBounds(m[i], bg));
|
||||
for(int i = 0; i < count; i++) {
|
||||
Rect rr = r.GetSize();
|
||||
Point p1 = m[i].GetHotSpot() - r.TopLeft();
|
||||
Point p2 = m[i].Get2ndSpot() - r.TopLeft();
|
||||
m[i] = WithHotSpots(Crop(m[i], r), p1.x, p1.y, p2.x, p2.y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue