mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fix drawing skin with zero width/height (regression in ef1cf22
)
This commit is contained in:
parent
13ebeccfd7
commit
6d87614d4c
@ -2723,7 +2723,7 @@ void MeterWindow::UpdateWindow(int alpha, bool reset, bool canvasBeginDrawCalled
|
||||
|
||||
BLENDFUNCTION blendPixelFunction = {AC_SRC_OVER, 0, alpha, AC_SRC_ALPHA};
|
||||
POINT ptSrc = {0, 0};
|
||||
SIZE szWindow = {m_WindowW, m_WindowH};
|
||||
SIZE szWindow = {m_Canvas->GetW(), m_Canvas->GetH()};
|
||||
|
||||
if (!canvasBeginDrawCalled) m_Canvas->BeginDraw();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user