Skip to content

Commit

Permalink
优化图片组件clear
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroi-sora committed Jan 4, 2024
1 parent 1b2f249 commit 99d0d33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UmiOCR-data/qt_res/qml/Widgets/ImageViewer/ImageScale.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Rectangle {
// 清空展示
function clear() {
if(beforeShow) beforeShow()
showImage.clear()
// showImage.clear()
showImage.source = ""
imageSW = imageSH = 0
}

Expand Down

0 comments on commit 99d0d33

Please sign in to comment.