feat: Set up window size at app start
- Changed wording of load_config logging - Updated docs to mention Windows status
This commit is contained in:
parent
8ff9ce269d
commit
a8aacd1df5
4 changed files with 17 additions and 4 deletions
|
|
@ -11,6 +11,7 @@ export component AppWindow inherits Window {
|
|||
callback new-day-started <=> record.new-day-started;
|
||||
callback get-previous-event <=> record.get-previous-event;
|
||||
callback update-record-offset(int);
|
||||
callback update-window-size(length, length);
|
||||
callback save-log;
|
||||
|
||||
callback fetch-log <=> review.fetch-log;
|
||||
|
|
@ -21,6 +22,11 @@ export component AppWindow inherits Window {
|
|||
record.offset = new-offset;
|
||||
}
|
||||
|
||||
update-window-size(width, height) => {
|
||||
self.width = width;
|
||||
self.height = height;
|
||||
}
|
||||
|
||||
in-out property record-events <=> record.events;
|
||||
in-out property record-offset <=> record.offset;
|
||||
in-out property record-visible-time <=> record.visible-time;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue