Fixed cursor on move for mac
This commit is contained in:
@@ -1127,13 +1127,14 @@ class StageEditor extends UIState {
|
||||
for(i=>edge in edges) {
|
||||
if(checkDot(buttonBoxes[i])) {
|
||||
// TODO: make it show both sided arrows when resizing, unless its at minimum size then show only one
|
||||
// TODO: make this rotate with the sprite
|
||||
currentCursor = switch(edge) {
|
||||
// RESIZE_NESW; //RESIZE_NS; //RESIZE_NWSE; //RESIZE_WE;
|
||||
case TOP_LEFT: RESIZE_TL;
|
||||
case TOP_MIDDLE: RESIZE_T;
|
||||
case TOP_RIGHT: RESIZE_TR;
|
||||
case MIDDLE_LEFT: RESIZE_L;
|
||||
case CENTER_CIRCLE: HAND;
|
||||
case CENTER_CIRCLE: #if mac FlxG.mouse.pressed ? DRAG : DRAG_OPEN #else MOVE #end;
|
||||
case MIDDLE_RIGHT: RESIZE_R;
|
||||
case BOTTOM_LEFT: RESIZE_BL;
|
||||
case BOTTOM_MIDDLE: RESIZE_B;
|
||||
|
||||
Reference in New Issue
Block a user