mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +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;
|
||||
}
|
||||
|
||||
m_window.invalidate();
|
||||
m_window.updateWindow();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -148,8 +148,9 @@ namespace she {
|
||||
m_hcursor = hcursor;
|
||||
}
|
||||
|
||||
void invalidate() {
|
||||
void updateWindow() {
|
||||
InvalidateRect(m_hwnd, NULL, FALSE);
|
||||
UpdateWindow(m_hwnd);
|
||||
}
|
||||
|
||||
HWND handle() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user