Skip to content

Commit

Permalink
bitECS: Adjust Object menu button positions
Browse files Browse the repository at this point in the history
With the new loader enabled, some object menu buttons are
overlappedna and cah be hidden by each other.

This commit adjusts the buttons to avoid the problem.
  • Loading branch information
takahirox committed Aug 29, 2023
1 parent 89f8c91 commit 8b58109
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/prefabs/object-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ const position = {
focus: [-0.25, 0.375, uiZ] as ArrayVec3,
track: [ 0.25, 0.375, uiZ] as ArrayVec3,
remove: [ 0, -0.375, uiZ] as ArrayVec3,
drop: [ 0, -0.625, uiZ] as ArrayVec3,
inspect: [ 0, -0.625, uiZ] as ArrayVec3,
drop: [ 0.1, -0.625, uiZ] as ArrayVec3,
inspect: [ -0.1, -0.625, uiZ] as ArrayVec3,
deserializeDrawing: [ -0.3, -0.625, uiZ] as ArrayVec3,
openLink: [ 0.43, -0.375, uiZ] as ArrayVec3,
refresh: [ 0.43, -0.6, uiZ] as ArrayVec3,
refresh: [ 0.3, -0.625, uiZ] as ArrayVec3,
clone: [-0.43, -0.375, uiZ] as ArrayVec3,
rotate: [ -0.3, -0.125, uiZ] as ArrayVec3,
mirror: [ 0, -0.125, uiZ] as ArrayVec3,
Expand Down

0 comments on commit 8b58109

Please sign in to comment.