Improving layout
Fixing left-right switch on all cameras (except current player camera)
This commit is contained in:
parent
0041e088a4
commit
88c099fc13
4 changed files with 63 additions and 45 deletions
|
@ -103,7 +103,7 @@ class LayoutManager {
|
|||
}
|
||||
}
|
||||
|
||||
private switchLayoutMode(layoutMode: LayoutMode) {
|
||||
public switchLayoutMode(layoutMode: LayoutMode) {
|
||||
this.mode = layoutMode;
|
||||
|
||||
if (layoutMode === LayoutMode.Presentation) {
|
||||
|
@ -123,6 +123,10 @@ class LayoutManager {
|
|||
this.positionDiv(div, DivImportance.Normal);
|
||||
}
|
||||
}
|
||||
|
||||
public getLayoutMode(): LayoutMode {
|
||||
return this.mode;
|
||||
}
|
||||
}
|
||||
|
||||
const layoutManager = new LayoutManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue