figspec

Unofficial static Figma frame/file viewer available as HTML CustomElement

Add keyboard support for pan and zoom actions (#58) * add keyboard support for pan and zoom actions * call #handleKeyDownPanOrZoom from keydown handler rather than registering new listener comments, code style consistency * zoom => scale, MIN/MAX_ZOOM => MIN/MAX_SCALE * don't need to be in drag state to zoom * define MIN/MAX_SCALE in FrameCanvas, pass as options to power of two methods

Changes

3 changed files (+164/-5)