diff --git a/ts/editor/HandleControl.svelte b/ts/editor/HandleControl.svelte
index f15bf5acc..e00a7ab90 100644
--- a/ts/editor/HandleControl.svelte
+++ b/ts/editor/HandleControl.svelte
@@ -26,10 +26,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
class="d-contents"
style="--offsetX: {offsetX}px; --offsetY: {offsetY}px; --activeSize: {activeSize}px;"
>
+
div {
+ .bordered {
+ position: absolute;
+
+ top: calc(0px - var(--activeSize) + var(--offsetY));
+ bottom: calc(0px - var(--activeSize) + var(--offsetY));
+ left: calc(0px - var(--activeSize) + var(--offsetX));
+ right: calc(0px - var(--activeSize) + var(--offsetX));
+
+ pointer-events: none;
+ border: 2px dashed black;
+
+ &.nightMode {
+ border-color: white;
+ }
+ }
+
+ .control {
position: absolute;
width: var(--activeSize);
height: var(--activeSize);
- border: 1px solid black;
&.active {
background-color: black;
@@ -95,8 +111,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
&.nw {
top: calc(0px - var(--offsetY));
left: calc(0px - var(--offsetX));
- border-bottom: none;
- border-right: none;
&.active {
cursor: nw-resize;
@@ -106,8 +120,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
&.ne {
top: calc(0px - var(--offsetY));
right: calc(0px - var(--offsetX));
- border-bottom: none;
- border-left: none;
&.active {
cursor: ne-resize;
@@ -117,8 +129,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
&.sw {
bottom: calc(0px - var(--offsetY));
left: calc(0px - var(--offsetX));
- border-top: none;
- border-right: none;
&.active {
cursor: sw-resize;
@@ -128,8 +138,6 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
&.se {
bottom: calc(0px - var(--offsetY));
right: calc(0px - var(--offsetX));
- border-top: none;
- border-left: none;
&.active {
cursor: se-resize;
diff --git a/ts/editor/ImageHandle.svelte b/ts/editor/ImageHandle.svelte
index f0e99f448..a42f7c546 100644
--- a/ts/editor/ImageHandle.svelte
+++ b/ts/editor/ImageHandle.svelte
@@ -179,7 +179,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
event.stopPropagation()}