MoI discussion forum
MoI discussion forum

Full Version: StraightSnapLineColor V4vsV5 inconsistency

Show messages: All  1-3  4-5

From: Michael Gibson
28 May   [#4] In reply to [#3]
Hi Mik,

re:
> The most clear solution IMO would be to have this setting, ie StraightSnapLineColor in Theme manager.

So there is a theme setting STRAIGHT_SNAP_LINE_ARGB_COLOR for this but to edit it you need to edit the theme's defines.inc file in a text editor. There is not yet a UI control for editing a color that includes transparency.

That theme color will only be used if the value in moi.ini has the default value which is
StraightSnapLineColor=103,0,0,0

If you've customized that value in moi.ini then it will use your custom value instead of the theme's so it will have compatibility with previous versions.


I will set up a STRAIGHT_SNAP_LINE_ARGB_COLOR2 which can optionally be present in the theme's defines.inc file to directly specify the second color to be used for a dark background theme instead of inversion.

- Michael
From: Mik (MIKULAS)
28 May   [#5] In reply to [#4]
Hi Michael,

Yes, I understood, I set in moi.ini file StraightSnapLineColor=103,0,0,0 and in defines.inc file, which correspond to my current theme, STRAIGHT_SNAP_LINE_ARGB_COLOR #B0FFFF00 for yellow color.

The result is yellow dashed (slightly transparent) and blue gap, this is practically same result if I set in moi.ini StraightSnapLineColor=255,255,255,0

No problem, I will wait for STRAIGHT_SNAP_LINE_ARGB_COLOR2.

Mik

Show messages: All  1-3  4-5