screengraft 0.63.7 → 0.63.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/ui/index.html +20 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "screengraft",
|
|
3
|
-
"version": "0.63.
|
|
3
|
+
"version": "0.63.9",
|
|
4
4
|
"description": "Put a UI screenshot or screen recording onto a photographed device screen with the perspective exactly right \u2014 a homography you confirm by hand, not a generative guess.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mockup",
|
package/ui/index.html
CHANGED
|
@@ -667,8 +667,15 @@
|
|
|
667
667
|
display:inline-flex;line-height:20px}
|
|
668
668
|
#detSt:empty,#outSt:empty{display:none}
|
|
669
669
|
.lbl{color:var(--ink);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:600}
|
|
670
|
+
/* overscroll-behavior:none on both wells (14 Sep 2026): a trackpad pinch is a
|
|
671
|
+
wheel event we zoom on, but macOS still owns the gesture's elastic bounce.
|
|
672
|
+
While the fingers were moving the browser let the well rubber-band past
|
|
673
|
+
the picture's bottom edge, so the last rows of the photo sat under a band
|
|
674
|
+
of well for as long as the gesture lasted -- the "photo cropped at the
|
|
675
|
+
bottom on zoom" report of 14 Sep 2026, seen in both panes. Not
|
|
676
|
+
reproducible from script, because scripted scrolls clamp. */
|
|
670
677
|
.scroller{overflow:auto;background:var(--well);display:grid;
|
|
671
|
-
min-height:0;min-width:0;
|
|
678
|
+
min-height:0;min-width:0;overscroll-behavior:none;
|
|
672
679
|
box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
|
|
673
680
|
/* tabindex -1, not 0: the canvas is not a tab stop — it takes focus only when
|
|
674
681
|
you actually click it, which is what makes space mean PAN rather than
|
|
@@ -785,7 +792,18 @@
|
|
|
785
792
|
button.switch:focus-visible .sw-track{box-shadow:0 0 0 3px var(--acc-soft);border-color:var(--acc)}
|
|
786
793
|
|
|
787
794
|
#outPane{display:grid}
|
|
788
|
-
|
|
795
|
+
/* No native scrollbars on either well (14 Sep 2026). With a mouse attached
|
|
796
|
+
macOS draws CLASSIC scrollbars, always visible, and each well then gives
|
|
797
|
+
up 17px at the bottom and the right to the track; in Safari's dark theme
|
|
798
|
+
the horizontal track is a black band with the photo stopping above it --
|
|
799
|
+
"the photo is cropped a bit at the bottom", both panes, every zoom route.
|
|
800
|
+
Measured in that Safari: offsetHeight 824, clientHeight 807, scrollHeight
|
|
801
|
+
nine more than the canvas; with the bars hidden all three agree. The
|
|
802
|
+
design's well has no scrollbar; panning is the wheel, cmd+wheel and
|
|
803
|
+
space-drag, and the result pane mirrors this one. */
|
|
804
|
+
#scroller,#outWrap{scrollbar-width:none}
|
|
805
|
+
#scroller::-webkit-scrollbar,#outWrap::-webkit-scrollbar{display:none}
|
|
806
|
+
#outWrap{overflow:auto;overscroll-behavior:none;background:var(--well);display:grid;box-shadow:inset 0 1px 3px rgba(0,0,0,.5)}
|
|
789
807
|
/* The depth-of-field gizmo: an SVG laid exactly over the composite, drawn
|
|
790
808
|
in PHOTO pixels (its viewBox is the photo) so every coordinate is the
|
|
791
809
|
engine's own. Always at full opacity: the fade-when-idle was tried and
|