Move hardcoded static asset browser hotkeys to yaml.

This commit is contained in:
Paul Chote
2017-07-23 14:18:14 +01:00
committed by reaperrr
parent 988353e431
commit 13a06c6e8d
3 changed files with 10 additions and 5 deletions

View File

@@ -119,6 +119,7 @@ Container@ASSETBROWSER_PANEL:
Button@BUTTON_PREV:
Width: 26
Height: 26
Key: LEFT
Children:
Image@IMAGE_PREV:
X: 5
@@ -131,6 +132,7 @@ Container@ASSETBROWSER_PANEL:
X: 35
Width: 26
Height: 26
Key: SPACE
Children:
Image@IMAGE_PLAY:
X: 5
@@ -144,6 +146,7 @@ Container@ASSETBROWSER_PANEL:
X: 35
Width: 26
Height: 26
Key: SPACE
Children:
Image@IMAGE_PAUSE:
X: 5
@@ -156,6 +159,7 @@ Container@ASSETBROWSER_PANEL:
X: 70
Width: 26
Height: 26
Key: RETURN
Children:
Image@IMAGE_STOP:
X: 5
@@ -168,6 +172,7 @@ Container@ASSETBROWSER_PANEL:
X: 105
Width: 26
Height: 26
Key: RIGHT
Children:
Image@IMAGE_NEXT:
X: 5

View File

@@ -116,6 +116,7 @@ Background@ASSETBROWSER_PANEL:
Y: 0
Width: 25
Height: 25
Key: LEFT
Children:
Image@IMAGE_PREV:
X: 0
@@ -129,6 +130,7 @@ Background@ASSETBROWSER_PANEL:
Y: 0
Width: 25
Height: 25
Key: SPACE
Children:
Image@IMAGE_PLAY:
X: 0
@@ -143,6 +145,7 @@ Background@ASSETBROWSER_PANEL:
Y: 0
Width: 25
Height: 25
Key: SPACE
Children:
Image@IMAGE_PAUSE:
X: 0
@@ -156,6 +159,7 @@ Background@ASSETBROWSER_PANEL:
Y: 0
Width: 25
Height: 25
Key: RETURN
Children:
Image@IMAGE_STOP:
X: 0
@@ -169,6 +173,7 @@ Background@ASSETBROWSER_PANEL:
Y: 0
Width: 25
Height: 25
Key: RIGHT
Children:
Image@IMAGE_NEXT:
X: 0