focusBorder
Parameters
- self:*const WidgetData
- *const WidgetData
Source
Implementation
pub fn focusBorder(self: *const WidgetData) void {
if (self.visible()) {
const rs = self.borderRectScale();
const thick = 2 * rs.s;
rs.r.stroke(self.options.cornersGet().scale(rs.s, CornerRect.Physical), .{ .thickness = thick, .color = self.options.themeGet().focus, .after = true });
}
}