forked from mirror/ObjToSchematic
Removed colour space selection from UI
This commit is contained in:
parent
0f46c16ccc
commit
e665bcbe21
@ -193,7 +193,7 @@ export class AppContext {
|
||||
textureAtlas: uiElements.textureAtlas.getCachedValue(),
|
||||
blockPalette: uiElements.blockPalette.getCachedValue(),
|
||||
blockAssigner: uiElements.dithering.getCachedValue(),
|
||||
colourSpace: uiElements.colourSpace.getCachedValue() === 'rgb' ? ColourSpace.RGB : ColourSpace.LAB,
|
||||
colourSpace: ColourSpace.RGB,
|
||||
fallable: uiElements.fallable.getCachedValue() as FallableBehaviour,
|
||||
};
|
||||
|
||||
|
@ -135,10 +135,6 @@ export class UI {
|
||||
{ id: 'random-dithering', displayText: 'Random' },
|
||||
{ id: 'basic', displayText: 'Off' },
|
||||
]),
|
||||
'colourSpace': new ComboBoxElement('Colour space', [
|
||||
{ id: 'rgb', displayText: 'RGB (faster)' },
|
||||
{ id: 'lab', displayText: 'LAB (recommended, slow)' },
|
||||
]),
|
||||
'fallable': new ComboBoxElement('Fallable blocks', [
|
||||
{
|
||||
id: 'replace-falling',
|
||||
@ -164,7 +160,7 @@ export class UI {
|
||||
},
|
||||
]),
|
||||
},
|
||||
elementsOrder: ['textureAtlas', 'blockPalette', 'dithering', 'colourSpace', 'fallable'],
|
||||
elementsOrder: ['textureAtlas', 'blockPalette', 'dithering', 'fallable'],
|
||||
submitButton: new ButtonElement('Assign blocks', () => {
|
||||
this._appContext.do(EAction.Assign);
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user