~starkingdoms/starkingdoms

47203cc465de9356ff8f1df740e22ee6a7309713 — TerraMaster85 1 year, 11 months ago 7a66a2f
Tweak bound margin of dragging for Popup Component
1 files changed, 1 insertions(+), 1 deletions(-)

M starkingdoms-client/src/components/ui/Popup.svelte
M starkingdoms-client/src/components/ui/Popup.svelte => starkingdoms-client/src/components/ui/Popup.svelte +1 -1
@@ 80,7 80,7 @@
    // This was originally meant to specify the amount of error acceptable
    // before snapping to an edge or corner, but now it seems to merely adjust
    // the amount of pixels between the screen edge and the bounds.
    let snap_distance = 16;
    let snap_distance = 0; //16;
    let bounds = {
      top: 8 + snap_distance,
      left: 8 + snap_distance,