ijprest / keyboard-layout-editor

Web application to enable the design & editing of keyboard layouts
http://www.keyboard-layout-editor.com/
Other
1.3k stars 241 forks source link

Legend color properties missing when changed default color and set top-left color to '0' #334

Open adamws opened 1 year ago

adamws commented 1 year ago

There are at least two label color related issues opened: https://github.com/ijprest/keyboard-layout-editor/issues/315 https://github.com/ijprest/keyboard-layout-editor/issues/214

This one might be related. Steps to reproduce:

result: image keyboard renders as expected but in Raw data tab, layout is missing color specifiers:

["x\nx\n\n\n\n\nx","x"]

when top left legend color is changed to something else than #000000 then it is ok:

[{t:"#0f00bf"},"x\nx\n\n\n\n\nx","x"]