Updated LOVE layout. (#5152)

Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
Alexander Platov 2024-04-03 08:42:10 +03:00 committed by GitHub
parent 96f65c4806
commit 0075f86bec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View File

@ -25,7 +25,7 @@
right: calc(100% / var(--huly-floor-roomWidth) / 5 * -1);
background-color: var(--theme-popup-color);
border: 1px solid var(--theme-popup-divider);
border-radius: .75rem;
border-radius: 1rem;
}
}

View File

@ -159,7 +159,6 @@
options.props.top = `${pp.y}px`
options.props.maxHeight = `${pp.height}px`
}
$: minHeight = element === 'movable' ? 10.375 * $deviceInfo.fontSize : 0
$: updatedPopupParams(popupParams)
function mouseDown (e: MouseEvent & { currentTarget: EventTarget & HTMLDivElement }): void {

View File

@ -644,7 +644,7 @@
class="bar"
class:hovered={isScrolling === 'vertical'}
bind:this={divBar}
on:mousedown={(ev) => {
on:mousedown|stopPropagation={(ev) => {
onScrollStart(ev, 'vertical')
}}
on:mouseleave={checkFade}
@ -665,7 +665,7 @@
class="bar-horizontal"
class:hovered={isScrolling === 'horizontal'}
bind:this={divBarH}
on:mousedown={(ev) => {
on:mousedown|stopPropagation={(ev) => {
onScrollStart(ev, 'horizontal')
}}
on:mouseleave={checkFade}