Fixed the problem where the only way to complete a grab/drop operation was to capture the MOUSE_CLICK directly. Solution was to move the mouse processing out of DNDLoot and only handle the MOUSE_MOVE/DRAG.
This commit is contained in:
parent
6a72d1160f
commit
f559b5a39d
6 changed files with 32 additions and 43 deletions
|
@ -40,7 +40,6 @@ namespace gui {
|
|||
void INV_PICKUP(Event ev, std::any data);
|
||||
|
||||
void handle_mouse(Event ev, guecs::UI& gui);
|
||||
void mouse_action(bool hover);
|
||||
void render();
|
||||
void open();
|
||||
void close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue