appDisplay: Fix _ensureIconVisible()
The fade effect was renamed a while ago, but we missed to update the use in _ensureIconVisible(). https://bugzilla.gnome.org/show_bug.cgi?id=694125
This commit is contained in:
parent
5d275389af
commit
75885c3095
@ -86,9 +86,9 @@ const AlphabeticalView = new Lang.Class({
|
||||
let [value, lower, upper, stepIncrement, pageIncrement, pageSize] = adjustment.get_values();
|
||||
|
||||
let offset = 0;
|
||||
let vfade = this.actor.get_effect("vfade");
|
||||
let vfade = this.actor.get_effect("fade");
|
||||
if (vfade)
|
||||
offset = vfade.fade_offset;
|
||||
offset = vfade.vfade_offset;
|
||||
|
||||
// If this gets called as part of a right-click, the actor
|
||||
// will be needs_allocation, and so "icon.y" would return 0
|
||||
|
Loading…
Reference in New Issue
Block a user