ui/cocoa: Fix pause label coordinates
commit1a4b64a5f5a7dd96fcc84aedb157700d9da8c54d
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sat, 24 Feb 2024 12:43:36 +0000 (24 21:43 +0900)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Mar 2024 11:04:41 +0000 (5 12:04 +0100)
tree98afa3af9b20ffee6633451d984dcfdad4ee08d8
parentfcb03de7e19306619c424f3cce5689b3b43f2043
ui/cocoa: Fix pause label coordinates

A subview is positioned in the superview so the superview's frame
should be used instead of one of the window to determine the
coordinates.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Tested-by: Rene Engel <ReneEngel80@emailn.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20240224-cocoa-v12-5-e89f70bdda71@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
ui/cocoa.m