Removed colour space selection from UI

This commit is contained in:
Lucas Dower 2022-08-19 19:01:28 +01:00
parent 0f46c16ccc
commit e665bcbe21
2 changed files with 2 additions and 6 deletions

View File

@ -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,
};

View File

@ -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);
}),