mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-12-09 04:50:29 +08:00
Fix UV editor navigation issue on Firefox + iOS
This commit is contained in:
parent
6ec92092d9
commit
60162a1278
@ -1958,6 +1958,13 @@ span.controller_state_section_info {
|
||||
object-fit: cover;
|
||||
object-position: 0 0;
|
||||
}
|
||||
/* Fix in Firefox + iPadOS */
|
||||
#uv_frame_spacer {
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
pointer-events: none;
|
||||
position: relative;
|
||||
}
|
||||
#uv_texture_grid {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
|
@ -3757,6 +3757,7 @@ Interface.definePanels(function() {
|
||||
:class="{overlay_mode: uv_overlay && mode == 'paint'}"
|
||||
:style="{width: inner_width + 'px', height: inner_height + 'px', margin: getFrameMargin(true)}"
|
||||
>
|
||||
<div id="uv_frame_spacer" :style="{left: (inner_width+getFrameMargin()[0])+'px', top: (inner_height+getFrameMargin()[1])+'px'}"></div>
|
||||
|
||||
<template v-for="element in getDisplayedUVElements()">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user