mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-29 17:37:00 +00:00
fix(gui): drop the tile :active press-shrink that stuttered the open morph
Clicking a tile launches the app and the open morph grows the icon in place — the 0.95 press-shrink made every launch read as shrink-then-grow. The icon now holds its hover scale through the click and enlarges straight from there (the morph ghost is measured from the rendered rect, so it picks up the hovered size seamlessly).
This commit is contained in:
@@ -939,9 +939,8 @@ input.myapps-search::-webkit-search-decoration {
|
||||
}
|
||||
}
|
||||
|
||||
.myapps-tile:active .myapps-tile-icon {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
/* No :active press-shrink on tiles: clicking launches the app, whose open
|
||||
morph grows the icon — a shrink-then-grow stutter reads as jank. */
|
||||
|
||||
/* Keyboard navigation: keyboard focus mirrors the mouse hover enlargement.
|
||||
:focus-visible only, so a mouse click doesn't pin the effect after the
|
||||
|
||||
Reference in New Issue
Block a user