GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: ruler guides drag out of the rulers, and objects snap to them · u8array/ZPLab@177e3ae

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • e2e
    • rulerGuides.spec.ts
  • src
    • components/Canvas
      • LabelCanvas.tsx
      • LineObject.tsx
      • RulerGuideInput.tsx
      • RulerGuides.tsx
      • dragGeometry.ts
      • hooks
        • useKonvaDragController.ts
        • useKonvaTransformer.ts
        • useRulerGuideGestures.ts
      • konvaObjectProps.ts
      • rulerGeometry.test.ts
      • rulerGeometry.ts
      • rulerGuideLayout.test.ts
      • rulerGuideLayout.ts
      • selectionGuideGeometry.ts
    • hooks
      • useColorScheme.ts
    • lib
      • rulerGuides.test.ts
      • rulerGuides.ts
      • snapGuides.test.ts
      • snapGuides.ts
    • locales
      • ar.ts
      • bg.ts
      • ca.ts
      • cs.ts
      • da.ts
      • de.ts
      • el.ts
      • en.ts
      • es.ts
      • et.ts
      • fa.ts
      • fi.ts
      • fr.ts
      • he.ts
      • hr.ts
      • hu.ts
      • it.ts
      • ja.ts
      • ko.ts
      • lt.ts
      • lv.ts
      • nl.ts
      • no.ts
      • pl.ts
      • pt.ts
      • ro.ts
      • sk.ts
      • sl.ts
      • sr.ts
      • sv.ts
      • tr.ts
      • zh-hans.ts
      • zh-hant.ts
    • store
      • labelStore.tripwire.test.ts
      • labelStore.ts
      • rulerGuides.test.ts
      • slices
        • labelConfigSlice.ts
        • sourceEditSlice.test.ts
        • uiSlice.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎e2e/rulerGuides.spec.ts‎

Copy file name to clipboardExpand all lines: e2e/rulerGuides.spec.ts
+381Lines changed: 381 additions & 0 deletions
Large diffs are not rendered by default.
Collapse file

‎src/components/Canvas/LabelCanvas.tsx‎

Copy file name to clipboardExpand all lines: src/components/Canvas/LabelCanvas.tsx
+71-6Lines changed: 71 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { isGroup, getAllLeaves, exportableLeaves, expandSelection, selectionTarg
1919
import { pxToDots, dotsToPx, mmToDots, SCREEN_PX_PER_MM } from "@zplab/core/lib/coordinates";
2020
import { effectiveDpmm } from "@zplab/core/types/LabelConfig";
2121
import { loadImage } from "@zplab/core/lib/loadImage";
22-
import { SNAP_OPTIONS } from "@zplab/core/lib/units";
22+
import { SNAP_OPTIONS, dotsToUnit, unitLabel, unitToMm } from "@zplab/core/lib/units";
2323
import type { Unit } from "@zplab/core/lib/units";
2424
import { Select } from "../ui/Select";
2525
import type { SnapGuide } from "../../lib/snapGuides";
@@ -74,6 +74,11 @@ import { useAltClickCycle } from "./hooks/useAltClickCycle";
7474
import { useSelectionActionBar, actionBarPosition } from "./hooks/useSelectionActionBar";
7575
import type { Bounds } from "./nodeRect";
7676
import { useSelectionGuides } from "./hooks/useSelectionGuides";
77+
import { useRulerGuideGestures } from "./hooks/useRulerGuideGestures";
78+
import { RulerGuideInput } from "./RulerGuideInput";
79+
import { RulerGuideLines, RulerGuideMarks, RulerStrips } from "./RulerGuides";
80+
import { guideAtStage, guideSnapLinesStage, guideToStage, stageRulerGuides, type RulerGuideView, type StageRulerGuide } from "../../lib/rulerGuides";
81+
import { guideLineAtReading, guideReadingDots } from "./rulerGuideLayout";
7782
import { FloatingCanvasButton, RADIUS as BUTTON_RADIUS, type ButtonTone } from "./FloatingCanvasButton";
7883
import { ROTATE_ICON, TRASH_ICON, LOCK_ICON, UNLOCK_ICON, GROUP_ICON, UNGROUP_ICON, LINE_ICON, BOX_ICON } from "./canvasIcons";
7984
import { isShapeToggleable, canToggleShapeMode, oppositeShapeMode, toggleShapeMode } from "../../lib/lineBoxConvert";
@@ -285,6 +290,7 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
285290
// Everything on canvas is drawn in the current page's dot scale;
286291
// designLabel stays the MODEL's design scope for the whole-document emit.
287292
const label = useLabelStore(selectRenderPageLabel);
293+
const rulerGuides = useLabelStore((s) => s.rulerGuides);
288294
const designLabel = useLabelStore((s) => s.label);
289295
const objects = useLabelStore(selectRenderObjects);
290296
const effDpmm = effectiveDpmm(label);
@@ -595,6 +601,9 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
595601
verticalReversed: rulerReversal.vertical,
596602
};
597603

604+
const guideView: RulerGuideView = { originX: objectsOffsetX, originY: labelOffsetY, centerX: labelCenterX, centerY: labelCenterY, scale, rotation: viewRotation };
605+
const guideSnapLines = guideSnapLinesStage(rulerGuides, guideView);
606+
598607
// Safe-area guide rect in screen px (dots scaled, object-offset aligned).
599608
const safeAreaDots = safeAreaRectDots(label);
600609
const safeAreaPx = safeAreaDots && {
@@ -636,6 +645,27 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
636645
onMouseUp: onLassoMouseUp,
637646
onStageMouseDown,
638647
} = useCanvasLasso({ containerRef, stageRef, spaceDown, selectObjects });
648+
// The stage and the label paper, where no object takes a press.
649+
const isBare = (target: Konva.Node) => target === target.getStage() || target === labelPaperRef.current;
650+
const guideGestures = useRulerGuideGestures({
651+
containerRef,
652+
guides: rulerGuides,
653+
view: guideView,
654+
dpmm: effDpmm,
655+
canvasWidth: containerSize.width,
656+
canvasHeight: containerSize.height,
657+
isBare,
658+
spaceDown,
659+
editorFrozen,
660+
});
661+
const stageGuides = stageRulerGuides(rulerGuides, guideView, guideGestures.draft?.moving);
662+
// The draft shows on the dot it would land on.
663+
const draftOnDot = guideGestures.draft && guideAtStage(guideGestures.draft, guideView, effDpmm);
664+
const draftGuide = draftOnDot && guideToStage(draftOnDot, guideView);
665+
const guideReading = (line: StageRulerGuide) => dotsToUnit(guideReadingDots(line, rulerProps, effDpmm), effDpmm, unit);
666+
const badgeLine = draftGuide ?? (guideGestures.hovered && guideToStage(guideGestures.hovered, guideView));
667+
const guideBadge = badgeLine && { at: badgeLine, text: `${guideReading(badgeLine)} ${unitLabel(unit)}` };
668+
const editedLine = guideGestures.editing && guideToStage(guideGestures.editing, guideView);
639669

640670
// Snap math operates in stage-screen space, so the label rect must
641671
// reflect the rotation-aware visual bounds, not layout coords.
@@ -970,6 +1000,7 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
9701000
updateObjects,
9711001
multiResizeBboxDots,
9721002
labelRect: transformerSnapLabelRect,
1003+
snapLines: guideSnapLines,
9731004
objectSnapEnabled: smartSnapActive,
9741005
snapBypassRef,
9751006
setGuides,
@@ -1143,7 +1174,8 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
11431174
if (editorFrozen) return;
11441175
if (consumeDidPan()) return;
11451176
if (consumeDidLasso()) return;
1146-
if (e.target === e.target.getStage()) selectObjects([]);
1177+
if (guideGestures.consumeDidDrag()) return;
1178+
if (isBare(e.target)) selectObjects([]);
11471179
};
11481180

11491181
const handleMouseMove = (e: React.MouseEvent) => {
@@ -1349,7 +1381,7 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
13491381
backgroundImage: `radial-gradient(circle, ${colors.canvasDot} 1px, transparent 1px)`,
13501382
backgroundSize: "24px 24px",
13511383
// Locus-of-attention feedback for the frozen editor.
1352-
cursor: editorFrozen ? 'not-allowed' : pickingRfidPosition ? 'crosshair' : cursor,
1384+
cursor: editorFrozen ? 'not-allowed' : pickingRfidPosition ? 'crosshair' : (cursor ?? guideGestures.cursor),
13531385
}}
13541386
onMouseDown={handleMouseDown}
13551387
onMouseMove={handleMouseMove}
@@ -1499,7 +1531,13 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
14991531
height={containerSize.height}
15001532
onClick={handleStageClick}
15011533
onContextMenu={openContextMenu}
1502-
onMouseDown={onStageMouseDown}
1534+
onMouseDown={(e) => {
1535+
if (guideGestures.onStageMouseDown(e)) return;
1536+
onStageMouseDown(e);
1537+
}}
1538+
onMouseMove={guideGestures.onStageMouseMove}
1539+
onMouseLeave={guideGestures.onStageMouseLeave}
1540+
onDblClick={guideGestures.onStageDblClick}
15031541
onDragStart={(e) => {
15041542
cancelLasso();
15051543
if (isPanningRef.current) {
@@ -1555,7 +1593,6 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
15551593
}
15561594
shadowBlur={editorFrozen ? 28 : 12}
15571595
shadowOffsetY={editorFrozen ? 0 : 2}
1558-
onClick={() => selectObjects([])}
15591596
/>
15601597

15611598
{/* Safe-area guide: non-interactive dashed inset, accent like the ^FB wrap-guide. */}
@@ -1655,6 +1692,7 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
16551692
registerMover={dragController.registerMover}
16561693
getOthersSnapshot={smartSnapActive ? getOthersSnapshot : undefined}
16571694
labelRect={transformerSnapLabelRect}
1695+
snapLines={guideSnapLines}
16581696
setGuides={setGuides}
16591697
snapBypassRef={snapBypassRef}
16601698
/>
@@ -1792,6 +1830,16 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
17921830

17931831
{!editorFrozen && <GuideLines guides={guides} />}
17941832

1833+
{!editorFrozen && (
1834+
<RulerGuideLines
1835+
guides={stageGuides}
1836+
draft={draftGuide}
1837+
canvasWidth={containerSize.width}
1838+
canvasHeight={containerSize.height}
1839+
colors={colors}
1840+
/>
1841+
)}
1842+
17951843
{!editorFrozen && (
17961844
<Transformer
17971845
ref={transformerRef}
@@ -1902,14 +1950,31 @@ export const LabelCanvas = forwardRef<LabelCanvasHandle, Props>(function LabelCa
19021950
</Layer>
19031951

19041952
{/* Ruler tracks visual edges; labels reverse when axis flips. */}
1905-
<Layer listening={false}>
1953+
<Layer>
19061954
<Ruler {...rulerProps} />
1955+
<RulerStrips canvasWidth={containerSize.width} canvasHeight={containerSize.height} />
1956+
{!editorFrozen && (
1957+
<RulerGuideMarks
1958+
guides={stageGuides}
1959+
badge={guideBadge}
1960+
colors={colors}
1961+
/>
1962+
)}
19071963
{selectionGuidesEnabled && !editorFrozen && (
19081964
<SelectionGuides ref={selectionGuidesRef} linesRef={selectionGuideLinesRef} {...rulerProps} dpmm={effDpmm} />
19091965
)}
19101966
</Layer>
19111967
</Stage>
19121968
)}
1969+
{editedLine && (
1970+
<RulerGuideInput
1971+
at={editedLine}
1972+
value={guideReading(editedLine)}
1973+
unit={unitLabel(unit)}
1974+
label={t.app.guidePosition}
1975+
onEnd={(value) => guideGestures.endEdit(value === null ? null : guideLineAtReading(editedLine, unitToMm(value, unit), rulerProps))}
1976+
/>
1977+
)}
19131978
{ctxMenu.menu && (
19141979
<CanvasContextMenu
19151980
sections={ctxMenu.menu.data}
Collapse file

‎src/components/Canvas/LineObject.tsx‎

Copy file name to clipboardExpand all lines: src/components/Canvas/LineObject.tsx
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function LineObject({
8080
registerMover,
8181
getOthersSnapshot,
8282
labelRect,
83+
snapLines,
8384
setGuides,
8485
snapBypassRef,
8586
}: Props) {
@@ -180,6 +181,7 @@ export function LineObject({
180181
othersSnapshotRef.current,
181182
undefined,
182183
labelRect,
184+
snapLines,
183185
);
184186
setGuides(result.guides);
185187
const back = transform.copy().invert().point({ x: result.x, y: result.y });
@@ -254,6 +256,7 @@ export function LineObject({
254256
undefined,
255257
labelRect,
256258
labelRect,
259+
snapLines,
257260
);
258261
const snappedExtPx = isHorizontal ? result.height : result.width;
259262
const cappedT = Math.min(
Collapse file

‎src/components/Canvas/RulerGuideInput.tsx‎

Copy file name to clipboard
+54Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
import { useRef, useState } from "react";
2+
import type { StageRulerGuide } from "../../lib/rulerGuides";
3+
import { guideBadgeOrigin } from "./rulerGuideLayout";
4+
5+
interface Props {
6+
at: StageRulerGuide;
7+
value: number;
8+
unit: string;
9+
label: string;
10+
/** Called with the typed value, or null when the edit is dropped. */
11+
onEnd: (value: number | null) => void;
12+
}
13+
14+
/** The typed position of a guide, shown in place of its badge. */
15+
export function RulerGuideInput({ at, value, unit, label, onEnd }: Props) {
16+
const shown = String(value);
17+
const [draft, setDraft] = useState(shown);
18+
// Escape and Enter unmount the field, and the browser may still fire a blur after that.
19+
const endedRef = useRef(false);
20+
21+
const end = (keep: boolean) => {
22+
if (endedRef.current) return;
23+
endedRef.current = true;
24+
const typed = Number(draft);
25+
// The shown value is rounded, so taking it back unchanged would move the guide.
26+
onEnd(keep && draft !== shown && draft.trim() !== "" && Number.isFinite(typed) ? typed : null);
27+
};
28+
29+
const { x, y } = guideBadgeOrigin(at);
30+
return (
31+
<label
32+
className="absolute z-20 flex items-center gap-1 rounded border border-accent bg-surface-2 px-1 font-mono text-[10px] text-muted"
33+
style={{ left: x, top: y }}
34+
onMouseDown={(e) => e.stopPropagation()}
35+
>
36+
<input
37+
type="number"
38+
step="any"
39+
aria-label={`${label} (${unit})`}
40+
autoFocus
41+
className="w-14 bg-transparent py-0.5 text-text outline-none"
42+
value={draft}
43+
onFocus={(e) => e.target.select()}
44+
onChange={(e) => setDraft(e.target.value)}
45+
onBlur={() => end(true)}
46+
onKeyDown={(e) => {
47+
if (e.key === "Enter") end(true);
48+
if (e.key === "Escape") end(false);
49+
}}
50+
/>
51+
{unit}
52+
</label>
53+
);
54+
}
Collapse file

‎src/components/Canvas/RulerGuides.tsx‎

Copy file name to clipboard
+88Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
import { Group, Label, Line, Rect, Tag, Text } from "react-konva";
2+
import type { CanvasColors } from "../../hooks/useColorScheme";
3+
import type { StageRulerGuide } from "../../lib/rulerGuides";
4+
import { RULER_FONT, RULER_SIZE } from "./Ruler";
5+
import { guideBadgeOrigin, RULER_STRIP_LEFT, RULER_STRIP_TOP } from "./rulerGuideLayout";
6+
7+
const MARK_PX = 5;
8+
9+
interface LinesProps {
10+
guides: readonly StageRulerGuide[];
11+
draft: StageRulerGuide | null;
12+
canvasWidth: number;
13+
canvasHeight: number;
14+
colors: CanvasColors;
15+
}
16+
17+
// A 1 px stroke stays crisp on a half pixel.
18+
const crisp = (px: number) => Math.floor(px) + 0.5;
19+
20+
const points = ({ vertical, px }: StageRulerGuide, width: number, height: number) =>
21+
vertical ? [crisp(px), RULER_SIZE, crisp(px), height] : [RULER_SIZE, crisp(px), width, crisp(px)];
22+
23+
export function RulerGuideLines({ guides, draft, canvasWidth, canvasHeight, colors }: LinesProps) {
24+
return (
25+
<Group listening={false}>
26+
{guides.map((guide) => (
27+
<Line
28+
key={`${guide.vertical}-${guide.px}`}
29+
name="ruler-guide"
30+
points={points(guide, canvasWidth, canvasHeight)}
31+
stroke={colors.rulerGuide}
32+
strokeWidth={1}
33+
/>
34+
))}
35+
{draft && draft.px >= RULER_SIZE && (
36+
<Line name="ruler-guide-draft" points={points(draft, canvasWidth, canvasHeight)} stroke={colors.rulerGuide} strokeWidth={1} dash={[4, 3]} />
37+
)}
38+
</Group>
39+
);
40+
}
41+
42+
interface StripsProps {
43+
canvasWidth: number;
44+
canvasHeight: number;
45+
}
46+
47+
/** Hit areas over the rulers. Without them a press on a ruler reaches the object that lies under it. */
48+
export function RulerStrips({ canvasWidth, canvasHeight }: StripsProps) {
49+
return (
50+
<>
51+
<Rect name={RULER_STRIP_TOP} x={RULER_SIZE} y={0} width={canvasWidth - RULER_SIZE} height={RULER_SIZE} />
52+
<Rect name={RULER_STRIP_LEFT} x={0} y={RULER_SIZE} width={RULER_SIZE} height={canvasHeight - RULER_SIZE} />
53+
</>
54+
);
55+
}
56+
57+
interface MarksProps {
58+
guides: readonly StageRulerGuide[];
59+
badge: { at: StageRulerGuide; text: string } | null;
60+
colors: CanvasColors;
61+
}
62+
63+
export function RulerGuideMarks({ guides, badge, colors }: MarksProps) {
64+
return (
65+
<Group listening={false}>
66+
{guides
67+
// A guide under the other ruler has no place on this one.
68+
.filter(({ px }) => px >= RULER_SIZE)
69+
.map(({ vertical, px }) => (
70+
<Rect
71+
key={`${vertical}-${px}`}
72+
name="ruler-guide-mark"
73+
x={vertical ? crisp(px) - MARK_PX / 2 : RULER_SIZE - MARK_PX}
74+
y={vertical ? RULER_SIZE - MARK_PX : crisp(px) - MARK_PX / 2}
75+
width={MARK_PX}
76+
height={MARK_PX}
77+
fill={colors.rulerGuide}
78+
/>
79+
))}
80+
{badge && badge.at.px >= RULER_SIZE && (
81+
<Label name="ruler-guide-badge" {...guideBadgeOrigin(badge.at)}>
82+
<Tag fill={colors.rulerGuide} cornerRadius={3} />
83+
<Text text={badge.text} fill="#ffffff" fontSize={9} fontFamily={RULER_FONT} padding={3} />
84+
</Label>
85+
)}
86+
</Group>
87+
);
88+
}
Collapse file

‎src/components/Canvas/dragGeometry.ts‎

Copy file name to clipboardExpand all lines: src/components/Canvas/dragGeometry.ts
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// delta to apply to the whole drag, so the snap policy stays testable without a
33
// stage and the controller stays a thin imperative layer.
44

5-
import { computeSnap, type SnapGuide, type SnapRect } from "../../lib/snapGuides";
5+
import { computeSnap, type SnapGuide, type SnapLines, type SnapRect } from "../../lib/snapGuides";
66
import { barBoxDots, printableRectDots, type BoundingBoxDots, type ObjectBoundsCtx } from "@zplab/core/lib/objectBounds";
77
import type { PageLabel } from "@zplab/core/types/LabelConfig";
88
import { visibleLeaves, type LabelObject } from "@zplab/core/types/Group";
@@ -38,8 +38,9 @@ export function smartSnapDelta(
3838
others: SnapRect[],
3939
labelRect: SnapRect | undefined,
4040
threshold: number,
41+
lines?: SnapLines,
4142
): { dx: number; dy: number; guides: SnapGuide[] } {
42-
const r = computeSnap(box, others, threshold, labelRect, labelRect);
43+
const r = computeSnap(box, others, threshold, labelRect, labelRect, lines);
4344
return { dx: r.x - box.x, dy: r.y - box.y, guides: r.guides };
4445
}
4546

Collapse file

‎src/components/Canvas/hooks/useKonvaDragController.ts‎

Copy file name to clipboardExpand all lines: src/components/Canvas/hooks/useKonvaDragController.ts
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import type Konva from "konva";
33
import { pxToDots, dotsToPx } from "@zplab/core/lib/coordinates";
44
import { dragSnapTargets, gridSnapDelta, smartSnapDelta, labelSnapRectDots } from "../dragGeometry";
55
import { SNAP_THRESHOLD_PX } from "../../../lib/snapGuides";
6-
import type { SnapGuide, SnapRect } from "../../../lib/snapGuides";
6+
import type { SnapGuide, SnapLines, SnapRect } from "../../../lib/snapGuides";
7+
import { guideSnapLinesDots } from "../../../lib/rulerGuides";
78
import {
89
barBoxDots,
910
selectionUnionDots,
@@ -70,6 +71,8 @@ interface DragState {
7071
others: SnapRect[];
7172
/** Printable label rect (dots) as a smart-snap target. */
7273
labelDots: SnapRect;
74+
/** Ruler guides in dots, smart-snap targets. */
75+
guideDots: SnapLines;
7376
/** Latest model-space delta (dots), applied to all on commit. */
7477
lastDelta: { x: number; y: number };
7578
}
@@ -170,6 +173,7 @@ export function useKonvaDragController(args: DragControllerArgs): DragHandlers {
170173
startUnionDots,
171174
others,
172175
labelDots,
176+
guideDots: guideSnapLinesDots(state.rulerGuides, args.dpmm),
173177
lastDelta: { x: 0, y: 0 },
174178
};
175179
};
@@ -216,7 +220,7 @@ export function useKonvaDragController(args: DragControllerArgs): DragHandlers {
216220
height: drag.startUnionDots.height,
217221
};
218222
const thresholdDots = pxToDots(SNAP_THRESHOLD_PX, args.scale, args.dpmm);
219-
const { dx, dy, guides } = smartSnapDelta(cur, drag.others, drag.labelDots, thresholdDots);
223+
const { dx, dy, guides } = smartSnapDelta(cur, drag.others, drag.labelDots, thresholdDots, drag.guideDots);
220224
deltaDots = { x: rawDx + dx, y: rawDy + dy };
221225
setGuides(guides.map(toLocalGuide));
222226
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.