IconDes: Fixed issue with Rotate

git-svn-id: svn://ultimatepp.org/upp/trunk@11895 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-04-17 13:14:21 +00:00
parent 1914188feb
commit ea65ce7b23
2 changed files with 3 additions and 8 deletions

View file

@ -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);

View file

@ -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();
}