Refactor ResizeHandleManager with improved resize logic
Enhances event resizing functionality with smoother animation and more robust handling Removes complex resize zone tracking in favor of simplified resize mechanism Improves performance and simplifies event resize interactions Cleans up unnecessary complexity in pointer and animation management
This commit is contained in:
parent
04b6847f55
commit
ccfc1a99b2
2 changed files with 165 additions and 154 deletions
|
|
@ -109,8 +109,7 @@ swp-resize-handle {
|
|||
}
|
||||
|
||||
/* Show handle on hover */
|
||||
swp-day-columns swp-event:hover swp-resize-handle,
|
||||
swp-day-columns swp-event[data-resize-hover="true"] swp-resize-handle {
|
||||
swp-day-columns swp-event:hover swp-resize-handle {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
|
@ -127,11 +126,6 @@ swp-resize-handle::before {
|
|||
0 0 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
swp-day-columns swp-event[data-resize-hover="true"] {
|
||||
cursor: ns-resize;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* Global resizing state */
|
||||
.swp--resizing {
|
||||
user-select: none !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue