KiiConf icon indicating copy to clipboard operation
KiiConf copied to clipboard

Somewhat fix overlapping layer labels beyond layer 2

Open zemm opened this issue 9 years ago • 2 comments

Previously layers 1, 3, 5 and 7 were positioned to the top center, layers 2, 4 and 6 to the bottom center. These labels were unreadable in all cases, since they overlapped each other.

This change places the labels like so:

+-------+
| 3 1 5 |
|   0 7 |
| 4 2 6 |
+-------+

The positions are chosen to maintain backwards compatibility with the old positioning with default layers 0-2.

Of course there will still always be overlap with wider labels.

configurator-overlapping

zemm avatar May 02 '16 21:05 zemm

Neat!

@cubiq does this patch look good? I'm no good at evaluating css...

haata avatar May 03 '16 06:05 haata

that is something I tried, but it looked just too messy and opted for a 3-layers-at-a-time solution.

I'll check if everything's working and merge.

cubiq avatar May 03 '16 06:05 cubiq