mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: stop flooring scroll positions (#2883)
This commit is contained in:
parent
10cd6a24b0
commit
1973ae9444
10 changed files with 41 additions and 58 deletions
|
@ -21,7 +21,6 @@ import type { ResolvablePromise } from "./utils";
|
|||
import { Spreadsheet } from "./charts";
|
||||
import { Language } from "./i18n";
|
||||
|
||||
export type FlooredNumber = number & { _brand: "FlooredNumber" };
|
||||
export type Point = Readonly<RoughPoint>;
|
||||
|
||||
export type Collaborator = {
|
||||
|
@ -68,8 +67,8 @@ export type AppState = {
|
|||
currentItemEndArrowhead: Arrowhead | null;
|
||||
currentItemLinearStrokeSharpness: ExcalidrawElement["strokeSharpness"];
|
||||
viewBackgroundColor: string;
|
||||
scrollX: FlooredNumber;
|
||||
scrollY: FlooredNumber;
|
||||
scrollX: number;
|
||||
scrollY: number;
|
||||
cursorButton: "up" | "down";
|
||||
scrolledOutside: boolean;
|
||||
name: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue