add helix selection internal tweaks

This commit is contained in:
Meredith Oleander 2025-01-19 07:53:59 +11:00 committed by CJ van den Berg
parent 3e65503902
commit 70f0d8bea6
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 49 additions and 19 deletions

View file

@ -33,7 +33,7 @@ pub fn reverse(self: *Self) void {
self.end = tmp;
}
pub inline fn is_reversed(self: *Self) bool {
pub inline fn is_reversed(self: *const Self) bool {
return self.begin.right_of(self.end);
}