shell: Fix render positions for global workspace mode
This commit is contained in:
parent
c25f2ed447
commit
4a9afd0572
3 changed files with 21 additions and 23 deletions
|
|
@ -82,9 +82,7 @@ where
|
|||
Some(ptr) => ptr,
|
||||
None => continue,
|
||||
};
|
||||
let location = state
|
||||
.shell
|
||||
.map_global_to_space(pointer.current_location().to_i32_round(), output);
|
||||
let location = pointer.current_location() - output.current_location().to_f64();
|
||||
|
||||
if mode != CursorMode::None {
|
||||
elements.extend(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue