From dd0734ff369adc9f0a88d71dea43f09563fc1f38 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Thu, 29 Aug 2013 21:53:40 +0200 Subject: [PATCH] Fixes crash when trying to change color due to missing fact.shp. Note: shp preview doesn't remap properly yet, that seems to require another fix. --- mods/ts/chrome/color-picker.yaml | 43 ++++++++++++++++++++++++++++++++ mods/ts/mod.yaml | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 mods/ts/chrome/color-picker.yaml diff --git a/mods/ts/chrome/color-picker.yaml b/mods/ts/chrome/color-picker.yaml new file mode 100644 index 0000000000..e5d69de04c --- /dev/null +++ b/mods/ts/chrome/color-picker.yaml @@ -0,0 +1,43 @@ +Background@COLOR_CHOOSER: + Logic:ColorPickerLogic + Background:dialog2 + Width:234 + Height:105 + Children: + Background@HUEBG: + Background:dialog3 + X:5 + Y:5 + Width:148 + Height:13 + Children: + HueSlider@HUE: + X:2 + Y:2 + Width:144 + Height:9 + Ticks:5 + Background@MIXERBG: + Background:dialog3 + X:5 + Y:23 + Width:148 + Height:76 + Children: + ColorMixer@MIXER: + X:2 + Y:2 + Width:144 + Height:72 + ShpImage@GTCNST: + X:156 + Y:1 + Image:gtcnst + Palette:colorpicker + Button@RANDOM_BUTTON: + Key:tab + X:158 + Y:74 + Width:70 + Height:25 + Text:Random \ No newline at end of file diff --git a/mods/ts/mod.yaml b/mods/ts/mod.yaml index 3f07d212d5..4c3bd5232f 100644 --- a/mods/ts/mod.yaml +++ b/mods/ts/mod.yaml @@ -103,7 +103,7 @@ ChromeLayout: mods/ra/chrome/lobby.yaml mods/ra/chrome/lobby-playerbin.yaml mods/ra/chrome/lobby-dialogs.yaml - mods/ra/chrome/color-picker.yaml + mods/ts/chrome/color-picker.yaml mods/ra/chrome/map-chooser.yaml mods/ra/chrome/create-server.yaml mods/ra/chrome/serverbrowser.yaml