magnifier: Adapt to painting and picking API change

This was left out in 988a0e7314

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/891
This commit is contained in:
Robert Mader 2019-12-06 20:10:58 +01:00 committed by Florian Müllner
parent 85bec783ee
commit 0795d8df5f

View File

@ -55,7 +55,7 @@ var MouseSpriteContent = GObject.registerClass({
return [true, this._texture.get_width(), this._texture.get_height()]; return [true, this._texture.get_width(), this._texture.get_height()];
} }
vfunc_paint_content(actor, node) { vfunc_paint_content(actor, node, _paintContext) {
if (!this._texture) if (!this._texture)
return; return;