mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
boxpointer: Fix coordinate
Eeeks. Spotted by coverity in CID 351259. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1950>
This commit is contained in:
parent
474fd47fc0
commit
6f7df32b0e
1 changed files with 1 additions and 1 deletions
|
|
@ -556,7 +556,7 @@ var BoxPointer = GObject.registerClass({
|
|||
arrowOrigin = y1;
|
||||
} else if (arrowOrigin >= (y2 - (borderRadius + halfBase))) {
|
||||
if (arrowOrigin < y2)
|
||||
resX -= y2 - arrowOrigin;
|
||||
resY -= y2 - arrowOrigin;
|
||||
arrowOrigin = y2;
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue