Kellermorph
5622308ba2
Derive empty-slot labels from the group's declared terminals
...
Both issues from the review, preview of empty contact comb slots only:
- Slice the flat label list over the declared poles in drawAsContacts
(terminals per pole from labels.size()/contactCount) instead of a
fixed stride of 2 (3 for a switch) inside drawContact: terminalCount
and contactCount are edited independently, so with 3 poles and the
default terminal count of 2 the fixed stride starved every pole but
the first. Available labels are now distributed across the poles.
- Map changeover labels of a slot to their own position always
(common=stored[0] right, NC=stored[1] bottom-left, NO=stored[2]
top-left, missing entries stay empty) instead of falling back to the
raw stored order, which put the numbers on the wrong contact halves
when the terminal count was below three.
- Element editor: changing the contact count now keeps the terminal
count in step (same terminals per contact, type default 2/3 for
inconsistent data, minimum 3 for a switch), so the mismatch cannot
be created anymore; legacy mismatched data is handled by the new
slicing.
- Drop the now redundant elmt check before is_power_ctc (it already
includes it) - the dead null check from the review.
2026-09-25 11:24:35 +02:00
..
2026-09-19 13:47:28 +02:00
2026-09-23 18:33:05 +02:00
2026-09-22 15:38:22 +02:00
2026-01-16 15:24:35 +01:00
2026-01-26 18:47:43 +01:00
2026-09-25 11:24:35 +02:00
2026-09-23 18:36:17 +02:00
2026-09-22 21:56:31 +12:00
2026-08-17 10:25:44 +02:00
2026-09-18 14:31:49 +12:00
2026-09-22 09:07:27 +02:00
2026-09-17 21:33:05 +02:00
2026-07-31 09:52:32 +12:00
2026-09-24 09:59:21 +02:00
2026-08-11 11:48:58 +12:00
2025-05-22 21:33:32 +02:00
2026-09-25 11:24:35 +02:00
2026-01-16 15:24:35 +01:00
2026-09-07 10:44:30 +02:00
2026-01-16 15:24:35 +01:00
2026-09-17 05:41:50 -05:00
2026-09-23 02:47:25 +02:00
2026-09-17 05:41:50 -05:00
2026-01-16 15:24:35 +01:00
2026-09-22 08:03:07 +02:00
2026-08-23 18:25:23 +02:00
2026-09-24 09:59:21 +02:00
2026-09-22 23:00:05 +12:00
2026-09-23 02:47:25 +02:00
2026-01-16 15:24:35 +01:00
2026-08-09 09:11:40 +02:00
2026-08-09 09:11:40 +02:00
2026-09-13 02:00:50 +12:00
2026-09-11 20:12:09 +03:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-23 09:08:21 +12:00
2026-08-13 08:50:24 +08:00
2026-09-11 20:12:09 +03:00
2026-09-10 22:44:27 +02:00
2026-08-03 13:19:51 +12:00
2026-01-16 15:24:35 +01:00
2026-09-12 23:06:15 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-20 21:56:43 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-09-09 11:45:36 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-20 21:24:38 +02:00
2026-09-20 13:05:13 +02:00
2026-09-23 16:37:45 +12:00
2026-08-22 11:25:47 +02:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-09-23 09:20:31 +12:00
2026-09-22 09:07:27 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-07 20:54:18 +12:00
2026-09-23 17:31:38 +12:00
2026-09-23 11:30:30 +12:00
2026-09-07 10:44:30 +02:00
2026-09-07 10:44:30 +02:00
2026-08-08 21:53:20 +12:00
2026-04-26 10:48:47 +02:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-09-19 12:22:24 -05:00
2026-01-16 15:24:35 +01:00
2026-08-09 09:11:40 +02:00
2026-01-16 15:24:35 +01:00
2026-09-19 12:22:24 -05:00
2026-05-13 19:42:11 +02:00
2026-09-23 16:37:45 +12:00
2026-08-04 16:36:23 +12:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-22 08:03:07 +02:00
2026-01-16 15:24:35 +01:00
2026-09-07 10:44:30 +02:00
2026-01-16 15:24:35 +01:00
2026-08-08 08:09:45 +02:00
2026-08-06 21:37:40 +02:00
2026-08-09 19:25:56 +02:00
2026-08-06 21:37:40 +02:00
2026-09-03 15:05:22 +02:00
2026-04-19 10:44:52 +02:00
2026-09-16 15:40:41 +12:00
2026-09-16 15:40:41 +12:00
2026-09-17 00:07:46 +02:00
2026-06-20 22:31:06 +12:00
2026-09-17 00:07:46 +02:00
2026-08-11 11:33:28 +12:00
2026-01-16 15:24:35 +01:00
2026-09-20 22:58:08 +02:00
2026-09-20 22:58:08 +02:00
2026-08-24 18:24:30 +02:00
2026-08-14 08:58:36 +02:00
2026-09-18 18:28:48 +02:00
2026-08-12 12:29:56 +02:00
2026-09-23 18:38:38 +02:00
2026-09-23 16:47:07 +12:00
2026-09-22 13:49:42 +02:00
2026-09-22 13:49:42 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-23 02:40:18 +02:00
2026-09-23 11:30:30 +12:00
2026-09-20 10:44:09 -05:00
2026-09-20 10:44:09 -05:00
2026-09-16 18:51:34 +12:00
2026-09-16 18:51:34 +12:00
2026-09-17 23:19:59 +12:00
2026-09-17 23:19:59 +12:00
2026-08-05 05:26:57 +12:00
2026-08-05 05:26:57 +12:00
2026-09-21 22:05:31 +02:00
2026-09-20 12:20:01 -05:00
2026-09-23 09:20:31 +12:00
2026-09-18 18:28:48 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-20 12:45:07 -05:00
2026-09-19 12:26:06 -05:00
2026-08-16 07:16:33 +02:00
2026-01-16 15:24:35 +01:00
2026-09-17 00:07:46 +02:00
2026-07-17 10:25:49 +02:00
2026-08-08 00:32:31 +02:00
2026-01-16 15:24:35 +01:00
2026-09-17 00:07:46 +02:00
2026-09-17 00:07:46 +02:00
2026-08-09 01:34:22 +02:00
2026-01-16 15:24:35 +01:00
2026-09-17 00:07:46 +02:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:29:13 +02:00
2026-07-17 10:29:13 +02:00
2026-08-12 12:29:56 +02:00
2026-08-01 01:35:51 +12:00
2020-09-07 22:03:40 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-09-20 22:58:08 +02:00
2026-08-08 12:31:45 +02:00
2026-09-17 00:07:46 +02:00
2026-09-17 00:07:46 +02:00
2026-06-11 12:39:43 +12:00
2026-06-11 12:39:43 +12:00