Commit graph

7 commits

Author SHA1 Message Date
77178886cd feat: Update DateDisplay
- formatDate now distinguishes direction
- Update task bar options with hierarchy
- Add direction to options
- Rename setPosition to setOptions
2025-11-02 10:14:54 +01:00
20b43b8d35 feat: Integrate date in task bar
- Date format can now be changed dynamically
- Date element is now created in task bar class
- Class can accept options, currently only for date
- Date format is changed according to position
- Changed dom structure for clock
- Refactor setPosition method to be more flexible
- Changed flex style for task bar items to inherit the direction
2025-11-02 09:26:19 +01:00
abf393191c style: Reformat and comment 2025-11-02 09:18:12 +01:00
bac4b73c08 feat: Add time to task bar
- Add app.js to windows screen
- Add time display to task bar
- Add new TimeDisplay class to app.js
- Add play and pause buttons as example
- Fix event handlers of task bar according to bubbling and propagation
2025-11-01 11:21:19 +01:00
1ada62f6ec feat: Optimize DragAdv class
- Only use left mouse button
- Handle element and placeholder together
2025-10-27 23:24:37 +01:00
0996ace34f fix: Task bar drag behaviour
- Placeholder is centered to mouse cursor
- Placeholder is positioned on mouse down not only on move
2025-10-27 21:54:36 +01:00
e0cfcfac13 feat: Add and rename screens
- Add windows screen
- Add windows.js
- Different variants of classes for drag and edge snap behaviour
- Rename js files to better distinguish usage
2025-10-27 21:33:38 +01:00