mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-18 15:26:19 +08:00
Fix element and bone panel being hidden in web app
This commit is contained in:
parent
f36cc094c5
commit
9f065d24ef
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user