Skip to content

Commit

Permalink
Update ipc to new API (#505)
Browse files Browse the repository at this point in the history
* Update ipc.lua

adjust to new API

* Update manifest.json
  • Loading branch information
SwissalpS authored Jan 6, 2025
1 parent dc5acc6 commit 2267d0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@
"id": "ipc",
"mod_version": "3",
"path": "plugins/ipc.lua",
"version": "0.3"
"version": "0.4"
},
{
"description": "Production and Early-Access OpenJDK Builds, from Oracle.",
Expand Down
2 changes: 1 addition & 1 deletion plugins/ipc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ function RootView:on_mouse_moved(x, y, dx, dy)
rootview_dragged_node = self.dragged_node
end
elseif rootview_dragged_node then
local w, h, wx, wy = system.get_window_size()
local w, h, wx, wy = system.get_window_size(core.window)
if x < 0 or x > w or y < 0 or y > h then
self.dragged_node = nil
self:set_show_overlay(self.drag_overlay, false)
Expand Down

0 comments on commit 2267d0a

Please sign in to comment.