Skip to content

Commit

Permalink
fix(WeaselUI): highlight back is not drawn correctly when fullscreen …
Browse files Browse the repository at this point in the history
…layout set
  • Loading branch information
fxliang committed Jan 21, 2025
1 parent 588a31f commit 8b95887
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WeaselUI/FullScreenLayout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ void weasel::FullScreenLayout::DoLayout(CDCHandle dc, PDWR pDWR) {
_prePageRect.OffsetRect(offsetx, offsety);
_nextPageRect = m_layout->GetNextpageRect();
_nextPageRect.OffsetRect(offsetx, offsety);
_range = m_layout->GetPreeditRange();
_beforesz = m_layout->GetBeforeSize();
_hilitedsz = m_layout->GetHilitedSize();
_aftersz = m_layout->GetAfterSize();

for (auto i = 0, n = (int)_context.cinfo.candies.size();
i < n && i < MAX_CANDIDATES_COUNT; ++i) {
Expand Down

0 comments on commit 8b95887

Please sign in to comment.