Skip to content

Fixed flexcolumn with saturating subtraction && intCast#278

Open
sudokit wants to merge 1 commit intorockorager:mainfrom
sudokit:main
Open

Fixed flexcolumn with saturating subtraction && intCast#278
sudokit wants to merge 1 commit intorockorager:mainfrom
sudokit:main

Conversation

@sudokit
Copy link
Contributor

@sudokit sudokit commented Nov 24, 2025

No description provided.

pub fn draw(self: *const Border, ctx: vxfw.DrawContext) Allocator.Error!vxfw.Surface {
const max_width: ?u16 = if (ctx.max.width) |width| width -| 2 else null;
const max_height: ?u16 = if (ctx.max.height) |height| height -| 2 else null;
// std.debug.panic("{d} {d}\n", .{ max_width.?, max_height.? });
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dont know how to revert this :p sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant