Use ActorPreviewWidget for the color pickers.
This commit is contained in:
@@ -29,15 +29,11 @@ Background@COLOR_CHOOSER:
|
||||
Y: 2
|
||||
Width: 144
|
||||
Height: 72
|
||||
SpriteSequence@FACT:
|
||||
ActorPreview@PREVIEW:
|
||||
X: 153
|
||||
Y: 1
|
||||
Width: 80
|
||||
Height: 73
|
||||
Palette: colorpicker
|
||||
Unit: carryall
|
||||
Sequence: idle
|
||||
Facing: 104
|
||||
Button@RANDOM_BUTTON:
|
||||
Key: tab
|
||||
X: 158
|
||||
|
||||
@@ -20,6 +20,7 @@ Metrics:
|
||||
TextContrast: false
|
||||
TextContrastColor: 0,0,0
|
||||
ColorPickerRemapIndices: 255, 254, 253, 252, 251, 250, 249, 248, 247, 246, 245, 244, 243, 242, 241, 240
|
||||
ColorPickerActorType: ^carryall.colorpicker
|
||||
SpawnFont: TinyBold
|
||||
SpawnColor: 255,255,255
|
||||
SpawnContrastColor: 0,0,0
|
||||
|
||||
@@ -140,6 +140,14 @@ waypoint:
|
||||
RenderEditorOnly:
|
||||
BodyOrientation:
|
||||
|
||||
^carryall.colorpicker:
|
||||
Inherits: ^CARRYALL
|
||||
RenderUnit:
|
||||
Image: carryall
|
||||
Palette: colorpicker
|
||||
Helicopter:
|
||||
InitialFacing: 104
|
||||
|
||||
CAMERA:
|
||||
Immobile:
|
||||
OccupiesSpace: false
|
||||
|
||||
Reference in New Issue
Block a user