mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js/appDisplay: Implement side page previews while DnDing
When DnDing an icon, we show both previous/next page, and optionally a "placeholder" actor to allow creating new pages. These sides on the scrollview are drop targets themselves, allowing to drop an app onto the next/prev page without further navigation. Still, preserve the checks to maybe switch to prev/next page without finishing the DnD operation, for finer grained operations. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1630>
This commit is contained in:
parent
d75ed55ed8
commit
a00db66ffe
2 changed files with 46 additions and 4 deletions
|
|
@ -141,6 +141,10 @@ $app_grid_fg_color: #fff;
|
|||
background: rgba(255, 255, 255, 0.05);
|
||||
width: 88px;
|
||||
|
||||
&.dnd {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
&.next {
|
||||
&:ltr { border-radius: 15px 0px 0px 15px; }
|
||||
&:rtl { border-radius: 0px 15px 15px 0px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue