mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Changed: Don't change x or y in these cases
--HG-- branch : develop
This commit is contained in:
parent
e2f776d21e
commit
3defbbbc89
1 changed files with 2 additions and 6 deletions
|
@ -1762,16 +1762,12 @@ namespace NLGUI
|
|||
|
||||
// *** According to best matching hotspot, and new screen resolution, move the window
|
||||
// x
|
||||
if(bestXHotSpot==Hotspot_xL)
|
||||
x= x;
|
||||
else if(bestXHotSpot==Hotspot_xM)
|
||||
if(bestXHotSpot==Hotspot_xM)
|
||||
x= newScreenW/2 + posXToMiddle - w/2;
|
||||
else if(bestXHotSpot==Hotspot_xR)
|
||||
x= newScreenW - posXToRight - w;
|
||||
// y
|
||||
if(bestYHotSpot==Hotspot_Bx)
|
||||
y= y;
|
||||
else if(bestYHotSpot==Hotspot_Mx)
|
||||
if(bestYHotSpot==Hotspot_Mx)
|
||||
y= newScreenH/2 + posYToMiddle + h/2;
|
||||
else if(bestYHotSpot==Hotspot_Tx)
|
||||
y= newScreenH - posYToTop;
|
||||
|
|
Loading…
Reference in a new issue