Fix indicator transform miscalculation (#1852)

Before

![image](https://github.com/tldraw/tldraw/assets/1242537/3bd21dda-2dab-4e1b-8c57-f90799b98f53)


After

![image](https://github.com/tldraw/tldraw/assets/1242537/8e55e154-a4dc-4f46-ac5a-4b322926733b)

follow up to https://github.com/tldraw/tldraw/pull/1836 should fix the
caveat raised by @leolorenzoluis #1834

### Change Type

- [x] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `documentation` — Changes to the documentation only[^2]
- [ ] `tests` — Changes to any test code only[^2]
- [ ] `internal` — Any other changes that don't affect the published
package[^2]
- [ ] I don't know

[^1]: publishes a `patch` release, for devDependencies use `internal`
[^2]: will not publish a new version

### Release Notes

- Fixes indicator transform miscalculation on android and windows
This commit is contained in:
David Sheldrick 2023-09-07 13:37:22 +01:00 committed by GitHub
parent 7c208e4225
commit c1f896b042
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,8 +245,8 @@ input,
position: absolute; position: absolute;
top: 0px; top: 0px;
left: 0px; left: 0px;
height: 10px; height: 100px;
width: 10px; width: 100px;
overflow: visible; overflow: visible;
pointer-events: none; pointer-events: none;
transform-origin: top left; transform-origin: top left;
@ -256,8 +256,8 @@ input,
position: absolute; position: absolute;
top: 0px; top: 0px;
left: 0px; left: 0px;
height: 10px; height: 100px;
width: 10px; width: 100px;
pointer-events: none; pointer-events: none;
} }