fix bug: flip_cursor

This commit is contained in:
nachifur 2023-03-12 11:58:45 +08:00
parent 2b14c98fe4
commit 2b30a27349
2 changed files with 1 additions and 1 deletions

View File

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 676 B

View File

@ -848,7 +848,7 @@ class MulimgViewer (MulimgViewerGui):
i_cur = 2
status_toggle = [self.magnifier, self.rotation, self.flip]
if status_toggle[i_cur].Value:
flip_cursor_path = Path(get_resource_path(str(Path("img"))))
flip_cursor_path = Path(get_resource_path(str(Path("images"))))
flip_cursor_path = str(flip_cursor_path/"flip_cursor.png")
self.SetCursor(
wx.Cursor((wx.Image(flip_cursor_path, wx.BITMAP_TYPE_PNG))))