02758bb8feat: Support for MacOS Safari pinch gesture
This commit adds support for MacOS Safari's non-standard GestureEvent.
See more for GestureEvent at: https://developer.apple.com/documentation/webkitjs/gestureevent
NOTE: The gesture does not perform zoom-at-point due to lack of offset
point in the events
https://github.com/pocka/figspec/issues/2
close #2
Shota Fuji
authored at
Shota Fuji
comitted at
d12f56b2fix: "Fix" ugly error UI
https://github.com/pocka/figspec/issues/10
Previous error UI is not clearly different than normal views.
This commit "fixes" the UI and improve readability.
Added a new CSS variable: --figspec-viewer-error-color
close #10
Shota Fuji
authored at
Shota Fuji
comitted at
061f2204fix(components): Specify z-index on page selector
Prevent canvas contents overlapping control UI, which visible for
<figspec-file-viewer/>.
Shota Fuji
authored at
Shota Fuji
comitted at
669eb592fix(components): Disable canvas interaction on inspector
https://github.com/pocka/figspec/pull/12#issuecomment-754766352
Since event handlers listens at a root of the CustomElement, gestures
working even on the inspector panel. This commit prevents these gestures
from working on the inspector panel by adding `stopPropagation`.
The "space+drag" functionallity, on the other hand, can't be prevented
because it's registered via `onmouse~` but I don't think it's critical
for UX.
I also fixed some elements' sizing so they could scroll and be sized
properly.
Shota Fuji
authored at
Shota Fuji
comitted at
dfd433ccMerge pull request #12 from yannbf/feature/inspector-view
Feature/inspector viewShota Fuji
authored at
GitHub
comitted at
bdca799cMerge pull request #18 from pocka/fix/react-jsx-transform
Do not use new JSX transformShota Fuji
authored at
GitHub
comitted at
593c1f69chore: Explicitly specify typing files
Even though TypeScript catches typing files, npmjs.com cannot detect
whether the package has TypeScript typings.
Shota Fuji
authored at
Shota Fuji
comitted at