1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-28 17:20:13 +02:00

Adds functionality of toggling Full Screen in Files Mode

This commit is contained in:
Arnab Sen
2022-03-20 17:52:32 +05:30
parent 1e0d04d7a0
commit 0ceb4ecc5e
2 changed files with 4 additions and 1 deletions

View File

@@ -735,6 +735,9 @@ export default class App extends Component {
}
layoutBtnClickHandler(layoutId) {
if (layoutId === this.state.currentLayoutMode) {
layoutId = 2;
}
this.saveSetting('layoutMode', layoutId);
trackEvent('ui', 'toggleLayoutClick', layoutId);
this.toggleLayout(layoutId);