This commit is contained in:
恍兮惚兮 2024-11-22 21:04:01 +08:00
parent c5a3b6c0ef
commit 64d31d01da
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
set(VERSION_MAJOR 6)
set(VERSION_MINOR 5)
set(VERSION_PATCH 5)
set(VERSION_PATCH 6)
set(VERSION_REVISION 0)
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
add_library(VERSION_DEF INTERFACE)

View File

@ -723,9 +723,9 @@ class TextBrowser(QWidget, dataget):
_ = self.solvejiaminglabel(
savetaglabels_idx, word, fonthira, fontori_m, tl1, fha
)
lines[-1].append(_)
if tl1.y() != tl2.y():
if len(lines[-1]) and (_.y() != lines[-1][-1].y()):
lines.append([])
lines[-1].append(_)
savetaglabels_idx += 1
for line in lines:
self._dyna_merge_label(line)