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:

committed by
Marge Bot

parent
d75ed55ed8
commit
a00db66ffe
@ -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; }
|
||||
|
Reference in New Issue
Block a user