mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +00:00
Fix redrawing of SkiaDisplay on Windows (now the cursor overlay is visible)
This commit is contained in:
parent
5eea582365
commit
7bcda88861
@ -90,7 +90,7 @@ bool SkiaDisplay::flip()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_window.invalidate();
|
m_window.updateWindow();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,8 +148,9 @@ namespace she {
|
|||||||
m_hcursor = hcursor;
|
m_hcursor = hcursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
void invalidate() {
|
void updateWindow() {
|
||||||
InvalidateRect(m_hwnd, NULL, FALSE);
|
InvalidateRect(m_hwnd, NULL, FALSE);
|
||||||
|
UpdateWindow(m_hwnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
HWND handle() {
|
HWND handle() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user