Skip to content

Commit

Permalink
Remove system drag measurement implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
stwlam committed Dec 2, 2024
1 parent 5d7d02d commit 169a4e7
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 416 deletions.
1 change: 0 additions & 1 deletion src/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ interface GamePF2e
buttons: boolean;
cards: boolean;
};
dragMeasurement: "always" | "encounters" | "never";
/** Encumbrance automation */
encumbrance: boolean;
gmVision: boolean;
Expand Down
4 changes: 1 addition & 3 deletions src/module/canvas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { TemplateLayerPF2e } from "./layer/template.ts";
import { TokenLayerPF2e } from "./layer/token.ts";
import { MeasuredTemplatePF2e } from "./measured-template.ts";
import { RegionPF2e } from "./region.ts";
import { RulerPF2e } from "./ruler.ts";
import { TokenPF2e } from "./token/object.ts";

export type CanvasPF2e = Canvas<
Expand All @@ -22,7 +21,7 @@ export type CanvasPF2e = Canvas<
TokenPF2e<TokenDocumentPF2e<ScenePF2e>>,
EffectsCanvasGroupPF2e,
RegionPF2e<RegionDocumentPF2e<ScenePF2e>>,
RulerPF2e
Ruler<TokenPF2e>
>;

export * from "./helpers.ts";
Expand All @@ -32,7 +31,6 @@ export {
LightingLayerPF2e,
MeasuredTemplatePF2e,
RegionPF2e,
RulerPF2e,
TemplateLayerPF2e,
TokenLayerPF2e,
TokenPF2e,
Expand Down
294 changes: 0 additions & 294 deletions src/module/canvas/ruler.ts

This file was deleted.

Loading

0 comments on commit 169a4e7

Please sign in to comment.