diff --git a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt index d9a3cfd..12d75cc 100644 --- a/plugin-playground/src/main/kotlin/KondoKit/plugin.kt +++ b/plugin-playground/src/main/kotlin/KondoKit/plugin.kt @@ -525,9 +525,11 @@ class plugin : Plugin() { // Clear original canvas for scaled if(!initialized) return SwingUtilities.invokeLater { + var p = Point(-1000,-1000) if (GetWindowMode() == WindowMode.FIXED) { - if (canvas.isShowing) { - canvas.setLocation(-1000,-1000) + if (canvas.location != p) { + println("Moving canvas offscreen"); + canvas.location = p; } } else {