Browse Source

fixup! Add keyboard shortcut to toggle column visibility

Leonardo Jeanteur 4 years ago
parent
commit
5745d9101e
1 changed files with 8 additions and 2 deletions
  1. 8 2
      hide/view/Prefab.hx

+ 8 - 2
hide/view/Prefab.hx

@@ -322,7 +322,10 @@ class Prefab extends FileView {
 									<div class="icon fa fa-expand"></div>
 								</div>
 
-								<div class="button hide-cols-btn close-btn" title="Hide Tree & Props">
+								<div
+									class="button hide-cols-btn close-btn"
+									title="Hide Tree & Props (${config.get("key.sceneeditor.toggleLayout")})"
+								>
 									<div class="icon fa fa-chevron-right"></div>
 								</div>
 							</div>
@@ -341,7 +344,10 @@ class Prefab extends FileView {
 							<div class="hide-scroll"></div>
 					</div>
 
-					<div class="button show-cols-btn close-btn" title="Show Tree & Props">
+					<div
+						class="button show-cols-btn close-btn"
+						title="Show Tree & Props (${config.get("key.sceneeditor.toggleLayout")})"
+					>
 						<div class="icon fa fa-chevron-left"></div>
 					</div>
 				</div>