mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-21 07:46:24 +00:00
Updated LOVE layout. (#5152)
Signed-off-by: Alexander Platov <alexander.platov@hardcoreeng.com>
This commit is contained in:
parent
96f65c4806
commit
0075f86bec
@ -25,7 +25,7 @@
|
|||||||
right: calc(100% / var(--huly-floor-roomWidth) / 5 * -1);
|
right: calc(100% / var(--huly-floor-roomWidth) / 5 * -1);
|
||||||
background-color: var(--theme-popup-color);
|
background-color: var(--theme-popup-color);
|
||||||
border: 1px solid var(--theme-popup-divider);
|
border: 1px solid var(--theme-popup-divider);
|
||||||
border-radius: .75rem;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,7 +159,6 @@
|
|||||||
options.props.top = `${pp.y}px`
|
options.props.top = `${pp.y}px`
|
||||||
options.props.maxHeight = `${pp.height}px`
|
options.props.maxHeight = `${pp.height}px`
|
||||||
}
|
}
|
||||||
$: minHeight = element === 'movable' ? 10.375 * $deviceInfo.fontSize : 0
|
|
||||||
$: updatedPopupParams(popupParams)
|
$: updatedPopupParams(popupParams)
|
||||||
|
|
||||||
function mouseDown (e: MouseEvent & { currentTarget: EventTarget & HTMLDivElement }): void {
|
function mouseDown (e: MouseEvent & { currentTarget: EventTarget & HTMLDivElement }): void {
|
||||||
|
@ -644,7 +644,7 @@
|
|||||||
class="bar"
|
class="bar"
|
||||||
class:hovered={isScrolling === 'vertical'}
|
class:hovered={isScrolling === 'vertical'}
|
||||||
bind:this={divBar}
|
bind:this={divBar}
|
||||||
on:mousedown={(ev) => {
|
on:mousedown|stopPropagation={(ev) => {
|
||||||
onScrollStart(ev, 'vertical')
|
onScrollStart(ev, 'vertical')
|
||||||
}}
|
}}
|
||||||
on:mouseleave={checkFade}
|
on:mouseleave={checkFade}
|
||||||
@ -665,7 +665,7 @@
|
|||||||
class="bar-horizontal"
|
class="bar-horizontal"
|
||||||
class:hovered={isScrolling === 'horizontal'}
|
class:hovered={isScrolling === 'horizontal'}
|
||||||
bind:this={divBarH}
|
bind:this={divBarH}
|
||||||
on:mousedown={(ev) => {
|
on:mousedown|stopPropagation={(ev) => {
|
||||||
onScrollStart(ev, 'horizontal')
|
onScrollStart(ev, 'horizontal')
|
||||||
}}
|
}}
|
||||||
on:mouseleave={checkFade}
|
on:mouseleave={checkFade}
|
||||||
|
Loading…
Reference in New Issue
Block a user