fix(bw128): column spacing for LS allowing for max values (#5116)
This commit is contained in:
@@ -34,10 +34,10 @@ enum LogicalSwitchFields {
|
|||||||
LS_FIELD_LAST = LS_FIELD_COUNT-1
|
LS_FIELD_LAST = LS_FIELD_COUNT-1
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CSW_1ST_COLUMN (4*FW-3)
|
#define CSW_1ST_COLUMN ((3*FW)-1)
|
||||||
#define CSW_2ND_COLUMN (8*FW-3)
|
#define CSW_2ND_COLUMN ((7*FW)-1)
|
||||||
#define CSW_3RD_COLUMN (13*FW-6)
|
#define CSW_3RD_COLUMN ((12*FW))
|
||||||
#define CSW_4TH_COLUMN (18*FW+2)
|
#define CSW_4TH_COLUMN ((21*FW)+3)
|
||||||
|
|
||||||
void putsEdgeDelayParam(coord_t x, coord_t y, LogicalSwitchData *cs, uint8_t lattr, uint8_t rattr)
|
void putsEdgeDelayParam(coord_t x, coord_t y, LogicalSwitchData *cs, uint8_t lattr, uint8_t rattr)
|
||||||
{
|
{
|
||||||
@@ -334,7 +334,7 @@ void menuModelLogicalSwitches(event_t event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// CSW and switch
|
// CSW and switch
|
||||||
drawSwitch(CSW_4TH_COLUMN, y, cs->andsw, 0);
|
drawSwitch(CSW_4TH_COLUMN, y, cs->andsw, RIGHT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user