Refactor Context Menus and make them use XAML & stylesheets (#4768)

* XAML verb menu

* fix ghost FOV

* spacing

* rename missed "ContextMenu"->"EntityMenu" instances

* move visibility checks to verb system

* update comment

* Remove CanSeeContainerCheck

* use ScrollContainer measure option

* MaxWidth / texxt line wrapping

* verb category default

Now when you click on a verb category, it should default to running the first member of that category.

This makes it much more convenient to eject/insert when there is only a single option

* only apply style to first verb category entry

* Use new visibility flags

* FoV -> Fov

* Revert "only apply style to first verb category entry"

This reverts commit 9a6a17dba600e3ae0421caed59fcab145c260c99.

* make all entity menu visibility checks clientside

* Fix empty unbuckle category

* fix merge
This commit is contained in:
Leon Friedrich
2021-10-28 18:21:19 +13:00
committed by GitHub
parent 224952110e
commit 49296e33a0
36 changed files with 1421 additions and 1535 deletions

View File

@@ -1,5 +1,4 @@
verb-system-waiting-on-server-text = Waiting on Server...
verb-system-no-verbs-text = No verbs!
verb-system-null-server-response = Entity not in view. You should not see this.
@@ -10,15 +9,17 @@ verb-self-target-pronoun = Yourself
# verb categories & common verbs. These appear across multiple systems, so they may as well go here.
verb-toggle-light = Toggle light
verb-categories-debug = Debug
verb-categories-eject = Eject
verb-categories-insert = Insert
verb-categories-buckle = Buckle
verb-categories-unbuckle = Unbuckle
verb-categories-close = Close
verb-categories-open = Open
verb-categories-rotate = Rotate
verb-categories-transfer = Set Transfer Amount
verb-categories-split = Split
verb-common-toggle-light = Toggle light
verb-common-close = Close
verb-common-open = Open
verb-common-close-ui = Close UI
verb-common-open-ui = Open UI