Commit Graph

19 Commits

Author SHA1 Message Date
Dong Bin
4893e6efb4 fix: fix drawer measure 2025-02-08 02:11:21 +08:00
望尘空忧
93fe82c100 Fixed: The propagation issue of OverlayFeedbackElement.ClosedEvent. 2025-01-16 01:10:33 +08:00
rabbitism
9b3be2d44e feat: add DialogFocusHint attached property. 2024-11-13 00:31:15 +08:00
rabbitism
dccb3c029c Refactor and optimize overlay dialog handling and resizing logic
- Remove unused `_moveDragging` variable in `OverlayFeedbackElement.cs`
- Rename private static animations to follow PascalCase in `OverlayDialogHost.Shared.cs`
- Simplify and streamline `ClickMaskToCloseDialog`, `OnPointerMoved`, `OnPointerPressed`, and `OnPointerReleased` methods in `OverlayDialogHost.Dialog.cs`
- Remove redundant null checks and streamline method calls in various files
- Optimize `_moveDragging` logic and pointer event handling in `DialogControlBase.cs`

This commit enhances readability, maintains consistency in naming conventions, and optimizes the code for better performance and clarity.
2024-09-18 02:37:17 +08:00
rabbitism
abe42fc189 fix: fix navigation issue for messagebox and drawer. 2024-09-03 17:05:33 +08:00
rabbitism
fb0816b2c5 feat: focus dialog after showing modal 2024-09-01 16:06:19 +08:00
rabbitism
7728e00b83 feat: make mask draggable when it's modal and cannot light dismiss. 2024-08-10 22:23:13 +08:00
rabbitism
15fb5a2d1b feat: clean up warnings. 2024-07-30 18:33:30 +08:00
rabbitism
9cbefe6307 feat: OverlayDialogHost remake: support host with same id in different toplevel. support modal status propagation. 2024-07-08 15:39:48 +08:00
rabbitism
77f4a5e051 feat: add option to disable animation. 2024-03-27 21:54:44 +08:00
rabbitism
6e897b63fe feat: make drawer impact modal count. simplify demo view model. 2024-03-27 17:37:46 +08:00
rabbitism
fc80e1bda1 feat: replace pure rectangle in several places. use pure rectangle in public repo. 2024-02-26 02:01:52 +08:00
rabbitism
f6f216f409 feat: make drawer api similar to dialog. 2024-02-10 01:29:06 +08:00
rabbitism
32ed8ad78a fix: update demo. 2024-02-06 01:09:12 +08:00
rabbitism
36c63b6326 feat: implement resizing logic. 2024-02-05 22:06:17 +08:00
rabbitism
fd85efd895 feat: basic position. 2024-02-05 19:40:11 +08:00
rabbitism
8e085bc264 feat: refactor layer storage and index reset rule. 2024-02-05 17:56:36 +08:00
rabbitism
35b3a2f659 feat: replace mask with pure rectangle to reduce layout calculation 2024-02-05 13:54:58 +08:00
rabbitism
2ac5dfa170 feat: WIP. 2024-02-05 01:22:55 +08:00