First commit
This commit is contained in:
24
application/demo/pages/appearance/rows/tint.selector.js
Normal file
24
application/demo/pages/appearance/rows/tint.selector.js
Normal file
@@ -0,0 +1,24 @@
|
||||
|
||||
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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user