mirror of
https://github.com/reactos/reactos.git
synced 2025-02-21 16:04:57 +00:00
[MSPAINT] Minor adjustment on drawing text on TOOL_TEXT
CORE-18867
This commit is contained in:
parent
aeffa57ec7
commit
bddd8b058c
1 changed files with 2 additions and 0 deletions
|
@ -445,7 +445,9 @@ struct TextTool : ToolBase
|
|||
RECT rc;
|
||||
textEditWindow.InvalidateEditRect();
|
||||
textEditWindow.GetEditRect(&rc);
|
||||
::InflateRect(&rc, -GRIP_SIZE / 2, -GRIP_SIZE / 2);
|
||||
|
||||
// Draw the text
|
||||
INT style = (toolsModel.IsBackgroundTransparent() ? 0 : 1);
|
||||
imageModel.CopyPrevious();
|
||||
Text(m_hdc, rc.left, rc.top, rc.right, rc.bottom, m_fg, m_bg, szText,
|
||||
|
|
Loading…
Reference in a new issue