Categories
Web development

SVG sprites transforms

Since working with SVG transforms can get difficult, especially setting transform origin, I often use GreenSock to avoid transform trouble. To make a series of icon elements rotate or scale around its center, for example, you could code something like: Here’s a more elaborate example: See the Pen Set SVG sprites transform origin with GreenSock […]

Categories
Web development

Drag hiccups

Problem: Using a Wacom Intuos tablet on Windows 10, GSAP’s Draggable doesn’t pick up the dragged element correctly, or doesn’t drop it when you end the drag. Solution: Open Wacom Tablet Properties. Make sure you have checked Use Windows Ink on the Mapping tab. Next open Pen & Windows Ink settings and check Allow my […]