mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
IconDes: Fixed issue with Rotate
git-svn-id: svn://ultimatepp.org/upp/trunk@11895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1914188feb
commit
ea65ce7b23
2 changed files with 3 additions and 8 deletions
|
|
@ -43,13 +43,6 @@ void IconDes::SyncShow()
|
|||
if(IsCurrent()) {
|
||||
Slot& c = Current();
|
||||
Image image = c.image;
|
||||
/* if(c.supersampling) {
|
||||
int l = c.image.GetLength();
|
||||
if(l > 0 && l <= 256 * 256)
|
||||
image = DownSample3x(image);
|
||||
else
|
||||
image = IconDesImg::LargeImage();
|
||||
}*/
|
||||
iconshow.image = image;
|
||||
iconshow.show_small = show_small;
|
||||
ilist.Set(2, image);
|
||||
|
|
|
|||
|
|
@ -136,8 +136,10 @@ void IconDes::Rotate()
|
|||
c.paste_image = RotateClockwise(c.paste_image);
|
||||
MakePaste();
|
||||
}
|
||||
else
|
||||
else {
|
||||
c.image = RotateClockwise(c.image);
|
||||
SetSelect(255);
|
||||
}
|
||||
SyncShow();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue