mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
[MSPAINT] s/AirBrushWidth/AirBrushRadius/
Fix logical error. CORE-19094
This commit is contained in:
parent
3faa56d2c7
commit
157739a658
4 changed files with 13 additions and 13 deletions
|
@ -219,7 +219,7 @@ VOID CToolSettingsWindow::drawAirBrush(HDC hdc, LPCRECT prc)
|
|||
RECT& rc = rects[i];
|
||||
INT x = (rc.left + rc.right) / 2;
|
||||
INT y = (rc.top + rc.bottom) / 2;
|
||||
BOOL bHigh = (s_AirRadius[i] == toolsModel.GetAirBrushWidth());
|
||||
BOOL bHigh = (s_AirRadius[i] == toolsModel.GetAirBrushRadius());
|
||||
if (bHigh)
|
||||
{
|
||||
::FillRect(hdc, &rc, ::GetSysColorBrush(COLOR_HIGHLIGHT));
|
||||
|
@ -438,7 +438,7 @@ LRESULT CToolSettingsWindow::OnLButtonDown(UINT nMsg, WPARAM wParam, LPARAM lPar
|
|||
case TOOL_AIRBRUSH:
|
||||
iItem = getAirBrushRects(rects, &rect1, &pt);
|
||||
if (iItem != -1)
|
||||
toolsModel.SetAirBrushWidth(s_AirRadius[iItem]);
|
||||
toolsModel.SetAirBrushRadius(s_AirRadius[iItem]);
|
||||
break;
|
||||
case TOOL_LINE:
|
||||
case TOOL_BEZIER:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue