mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-23 16:31:20 +08:00
Fix UV navigator visible in paint mode
This commit is contained in:
parent
ad408b8d40
commit
4e03efe23d
@ -776,6 +776,7 @@ const UVEditor = {
|
||||
}, 0);
|
||||
},
|
||||
updateUVNavigator() {
|
||||
if (UVEditor.vue.mode != 'uv') return;
|
||||
let style = UVEditor.getUVNavigatorStyle();
|
||||
let element = UVEditor.vue.$el.querySelector('.uv_navigator');
|
||||
if (!element) return;
|
||||
@ -4443,7 +4444,7 @@ Interface.definePanels(function() {
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="uv_navigator" @click="focusOnSelection()">
|
||||
<div class="uv_navigator" @click="focusOnSelection()" v-show="mode == 'uv'">
|
||||
<i class="material-icons icon">navigation</i>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user