Commit 995ff216 authored by dmMaze's avatar dmMaze
Browse files

fix #355

parent 5e3fa943
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@ def ffmt_change_srgb(param_name: str, values: tuple, act_ffmt: FontFormat, is_gl
def ffmt_change_stroke_width(param_name: str, values: float, act_ffmt: FontFormat, is_global: bool, blkitems: List[TextBlkItem], **kwargs):
    set_kwargs = global_default_set_kwargs if is_global else local_default_set_kwargs
    for blkitem, value in zip(blkitems, values):
        blkitem.blk.stroke_decide_by_colordiff = False
        blkitem.setStrokeWidth(value, **set_kwargs)

@font_formating()
+2 −0
Original line number Diff line number Diff line
@@ -884,6 +884,8 @@ class MainWindow(FramelessWindow):
                if override_fnt_stroke:
                    blk.default_stroke_width = gf.stroke_width
                    blk.stroke_decide_by_colordiff = False
                else:
                    blk.stroke_decide_by_colordiff = True
                if override_fnt_color:
                    blk.set_font_colors(fg_colors=gf.frgb)
                if override_fnt_scolor: