Closed Wolfr closed 3 years ago
thanks! I ended up basically rewriting this whole library, which makes it impossible to use this PR, but i added this functionality anyway: https://svelte.dev/repl/85c0f69007524dd9a45a8bf72d2401ba?version=3.38.3
it will constrain the panel to the window, and will position itself relative to the closest corner (i.e. if it's in the top left, resizing the window won't affect the position, but if it's in the bottom right it will)
Add ability to move the window around.
I used the same button styles as in the existing action and moved the styles there to the global level.