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:
Alexey 2026-04-06 14:01:42 +03:00
commit a8aacd1df5
4 changed files with 17 additions and 4 deletions

View file

@ -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;