Skip to content

Commit 5694490

Browse files
committed
fix(WeaselUI): hemispherical of hilite text preedit not correct
1 parent b197472 commit 5694490

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

WeaselUI/StandardLayout.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ void weasel::StandardLayout::_PrepareRoundInfo(CDCHandle& dc) {
175175
{true, true, true, true}}};
176176

177177
_textRoundInfo.IsTopLeftNeedToRound =
178-
hilite_rd_info[layout_type][_style.inline_preedit][0];
178+
hilite_rd_info[layout_type][!textHemispherical][0];
179179
_textRoundInfo.IsBottomLeftNeedToRound =
180-
hilite_rd_info[layout_type][_style.inline_preedit][1];
180+
hilite_rd_info[layout_type][!textHemispherical][1];
181181
_textRoundInfo.IsTopRightNeedToRound =
182-
hilite_rd_info[layout_type][_style.inline_preedit][2];
182+
hilite_rd_info[layout_type][!textHemispherical][2];
183183
_textRoundInfo.IsBottomRightNeedToRound =
184-
hilite_rd_info[layout_type][_style.inline_preedit][3];
184+
hilite_rd_info[layout_type][!textHemispherical][3];
185185
_textRoundInfo.Hemispherical = textHemispherical;
186186
if (_style.vertical_text_left_to_right &&
187187
_style.layout_type == UIStyle::LAYOUT_VERTICAL_TEXT) {

0 commit comments

Comments
 (0)