Fix element and bone panel being hidden in web app

This commit is contained in:
JannisX11 2020-10-26 20:24:59 +01:00
parent f36cc094c5
commit 9f065d24ef

View File

@ -207,7 +207,7 @@ function setupPanels() {
Interface.Panels.element = new Panel({
id: 'element',
icon: 'fas.fa-cube',
condition: isApp && {modes: ['edit']},
condition: !Blockbench.isMobile && {modes: ['edit']},
selection_only: true,
toolbars: {
element_position: !Blockbench.isMobile && Toolbars.element_position,
@ -219,7 +219,7 @@ function setupPanels() {
Interface.Panels.bone = new Panel({
id: 'bone',
icon: 'fas.fa-bone',
condition: isApp && {modes: ['animate']},
condition: !Blockbench.isMobile && {modes: ['animate']},
selection_only: true,
toolbars: {
bone_ik: Toolbars.bone_ik,