diff --git a/koboldcpp.py b/koboldcpp.py index 0fe05c8df..facdf690c 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -8097,8 +8097,13 @@ def show_gui(): resizing = False resizing_id1 = None def actually_resize(windowwidth,windowheight,lastpos,smallratio): + nonlocal gtooltip_box, gtooltip_label root.geometry(str(windowwidth) + "x" + str(windowheight) + str(lastpos)) ctk.set_widget_scaling(smallratio) + if gtooltip_box: + gtooltip_box.destroy() + gtooltip_box = None + gtooltip_label = None update_runmode_gui() togglerope(1,1,1) toggleflashattn(1,1,1)