iconGrid: Export zoomOutActor()
It's used in the search view when launching a search in the corresponding app. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6942 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2911>
This commit is contained in:
parent
a81ec2618f
commit
4386bc49d9
@ -178,7 +178,7 @@ class BaseIcon extends Shell.SquareBin {
|
|||||||
/**
|
/**
|
||||||
* @param {Clutter.Actor} actor
|
* @param {Clutter.Actor} actor
|
||||||
*/
|
*/
|
||||||
function zoomOutActor(actor) {
|
export function zoomOutActor(actor) {
|
||||||
let [x, y] = actor.get_transformed_position();
|
let [x, y] = actor.get_transformed_position();
|
||||||
zoomOutActorAtPos(actor, x, y);
|
zoomOutActorAtPos(actor, x, y);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user