mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 16:02:28 +00:00
fix: maps mapRegion update on move
This commit is contained in:
@@ -217,6 +217,9 @@
|
||||
{#if render}
|
||||
<div class="relative h-full w-full">
|
||||
<div
|
||||
on:pointermove={updateRegionOutput}
|
||||
on:wheel={updateRegionOutput}
|
||||
on:touchmove={updateRegionOutput}
|
||||
on:pointerdown|stopPropagation={selectComponent}
|
||||
bind:this={mapElement}
|
||||
class={twMerge(`w-full h-full`, css?.map?.class, 'wm-map')}
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
/>
|
||||
{:else}
|
||||
<button
|
||||
class="val {pureViewer
|
||||
class="val text-left {pureViewer
|
||||
? 'cursor-auto'
|
||||
: ''} rounded px-1 hover:bg-blue-100 {getTypeAsString(json[key])}"
|
||||
on:click={() => selectProp(key, json[key])}
|
||||
@@ -189,6 +189,7 @@
|
||||
|
||||
.val.number {
|
||||
@apply text-orange-600;
|
||||
@apply font-mono;
|
||||
}
|
||||
.val.boolean {
|
||||
@apply text-blue-600;
|
||||
|
||||
Reference in New Issue
Block a user