24 lines
393 B
JavaScript
24 lines
393 B
JavaScript
|
|
|
||
|
|
import themeSelector from "../themeSelector.js";
|
||
|
|
|
||
|
|
import tools from '/unify/tools.js';
|
||
|
|
|
||
|
|
|
||
|
|
export default class themeTintSelector extends themeSelector{
|
||
|
|
|
||
|
|
click() {
|
||
|
|
|
||
|
|
var tintName = tools.CamelCase( this.selectLabel.text );
|
||
|
|
|
||
|
|
this.parents("appearancePanel").os.osSelector.updateImages( tintName )
|
||
|
|
|
||
|
|
this.highlight();
|
||
|
|
|
||
|
|
|
||
|
|
this.getRoot().tint = tintName;
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
propegateEvent = false;
|
||
|
|
|
||
|
|
}
|