forked from MapComplete/MapComplete
Refactoring fullscreenhandling
This commit is contained in:
parent
e1a4c75391
commit
00f610c589
23 changed files with 346 additions and 245 deletions
|
@ -149,16 +149,12 @@ export abstract class UIElement extends UIEventSource<string> {
|
|||
return this.InnerRender() === "";
|
||||
}
|
||||
|
||||
public SetClass(clss: string): UIElement {
|
||||
return this.AddClass(clss);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds all the relevant classes, space seperated
|
||||
* @param clss
|
||||
* @constructor
|
||||
*/
|
||||
public AddClass(clss: string) {
|
||||
public SetClass(clss: string) {
|
||||
this.dumbMode = false;
|
||||
const all = clss.split(" ");
|
||||
let recordedChange = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue