Can't move widgets MacOS Monterey #1184
-
I'm not sure if this is a setting i need to enable or something, but when i try to move a widget (e.g. the corgi script) it doesn't move the window but drags the contents of the image. |
Beta Was this translation helpful? Give feedback.
Answered by
johnlindquist
Apr 5, 2023
Replies: 1 comment 1 reply
-
There's a special webkit property that will make a dom element drag its containing app: await widget(`<img
style="-webkit-app-region: drag;"
src="https://cdn.midjourney.com/940b046a-818e-49ed-b67e-f200e3607220/0_0.png">`)
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
haydenbroadhead
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@haydenbroadhead
There's a special webkit property that will make a dom element drag its containing app: