Image MidHandle flag bug
Monkey Forums/Monkey Bug Reports/Image MidHandle flag bug
| ||
(Monkey X Pro V81a) When loading or creating an Image, the MidHandle flag is not correctly set. Example: This is happening because the MidHandle flag is turned off whenever the Image.SetHandle method is called. So it happens initially too, when the image is first loaded/created, even when the MidHandle flag is specified. (The actual handle xy coordinate is set correctly). Possible fix in Image.ApplyFlags method in "graphics.monkey": Method ApplyFlags( iflags ) flags=iflags [...] If flags & Image.MidHandle SetHandle width/2.0,height/2.0 '********** Add the following line ****** flags = flags | Image.MidHandle '**************************************** Endif [...] End |