save linepattern colors and multipliers

This commit is contained in:
Zeno Rogue 2020-01-02 16:51:43 +01:00
parent a37457ead9
commit 11a65b0094
1 changed files with 5 additions and 0 deletions

View File

@ -315,6 +315,11 @@ EX void initConfig() {
addsaver(vid.fsize, "font size");
addsaver(vid.darkhepta, "mark heptagons", false);
for(auto& lp: linepatterns::patterns) {
addsaver(lp->color, "lpcolor-" + lp->lpname);
addsaver(lp->multiplier, "lpwidth-" + lp->lpname);
}
// special graphics
addsaver(vid.ballangle, "ball angle", 20);