First commit
This commit is contained in:
26
application/demo/pages/appearance/rows/os.selector.js
Normal file
26
application/demo/pages/appearance/rows/os.selector.js
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
import themeSelector from "../themeSelector.js";
|
||||
|
||||
import tools from '/unify/tools.js';
|
||||
|
||||
export default class themeOSSelectorItem extends themeSelector{
|
||||
|
||||
click() {
|
||||
|
||||
var osName = tools.CamelCase( this.selectLabel.text );
|
||||
|
||||
this.getRoot().os = osName;
|
||||
|
||||
|
||||
this.parent.updateImages( this.getRoot().tint );
|
||||
|
||||
this.parents("appearancePanel").tint.themeTintSelectors.updateImages( osName )
|
||||
|
||||
this.highlight();
|
||||
|
||||
}
|
||||
|
||||
propegateEvent = false;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user