fix(gui): default to .beam cursor in gui until idle rendering is more efficient
This commit is contained in:
parent
cf496c881c
commit
97558ad621
1 changed files with 6 additions and 1 deletions
|
|
@ -2174,7 +2174,12 @@ pub fn get_cursor_shape() renderer.CursorShape {
|
|||
default_cursor
|
||||
else
|
||||
default_cursor;
|
||||
const shape = if (self.rdr_.vx.caps.multi_cursor and shape_ == .default) .beam_blink else shape_;
|
||||
const shape = if (build_options.gui and shape_ == .default)
|
||||
.beam
|
||||
else if (self.rdr_.vx.caps.multi_cursor and shape_ == .default)
|
||||
.beam_blink
|
||||
else
|
||||
shape_;
|
||||
return switch (shape) {
|
||||
.default => .default,
|
||||
.block_blink => .block_blink,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue