Commit graph

11 commits

Author SHA1 Message Date
a18b42bb2a feat: More dynamic styling for placeholder
- Create global setAttributesAccordingToPosition
- Change style of placeholder to show snap side
2025-11-02 12:22:08 +01:00
3dc836656a fix: Placeholder moving away from cursor
- Create global centerElementUnderCursor for centering
- Change order of actions for mouse move
2025-11-02 11:57:04 +01:00
aa5d095e64 feat: Change placeholder while dragging
- Move edge detection to global function
- Change placeholder style during mouse move
2025-11-02 11:40:54 +01:00
13b1924360 refactor: Move stuff around and rename
- DragAdv is now HippieTaskBar
- Remove previous version
- Move unused stuff
- Replace Clock with TimeDisplay
2025-11-02 10:20:51 +01:00
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