Loading ui/fontformat_commands.py +1 −0 Original line number Diff line number Diff line Loading @@ -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() Loading ui/mainwindow.py +2 −0 Original line number Diff line number Diff line Loading @@ -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: Loading Loading
ui/fontformat_commands.py +1 −0 Original line number Diff line number Diff line Loading @@ -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() Loading
ui/mainwindow.py +2 −0 Original line number Diff line number Diff line Loading @@ -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: Loading