chore: Add overlow scroll class for linux and windows frame
This commit is contained in:
3 files changed
+16
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import Controller from '@ember/controller';
|
||||
import { inject as service } from '@ember/service';
|
||||
import config from '../config/environment';
|
||||
import { computed } from '@ember/object';
|
||||
|
||||
export default class ApplicationController extends Controller {
|
||||
// =services
|
||||
@@ -10,4 +11,17 @@ export default class ApplicationController extends Controller {
|
||||
// =attributes
|
||||
|
||||
notifyTimeout = config.notifyTimeout;
|
||||
|
||||
// =attributes
|
||||
|
||||
/**
|
||||
* Display OS window actions (minimize, fullscreen, close) for
|
||||
* Windows and Linux as OS frame/shell is disable.
|
||||
* Does not apply to MacOS.
|
||||
* @type {boolean}
|
||||
*/
|
||||
@computed('isMacOS')
|
||||
get isFrameless() {
|
||||
return !this.isMacOS;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user