- Releases 1
Pixel Cleanup For Sketch
One of the best things about Sketch is having your designs be pixel perfect. However, there are a variety of things that can end up with pesky portion-of-a-pixel positioning.
This beta plugin will round all of your pixels to whole pixels.
It works well for the following:
- Nested groups
Working but not extensively tested:
- Complex paths
- Extensive edge cases such as scaling + rotation.
- Compound shapes
- Anything not listed above
It may work with others, but I haven't tested it fully.
- Select 1 or more layers or groups
- Press the keyboard shortcut
- Bask in the whole pixel glory.
Things To Know
• If a shape is in a group, it is possible that
both the shape, and the group itself may have been positioned\shaped at partial pixels.
If you do select a shape in a group and run the command, it will adjust all parent groups and the shape, but it will not not automatically adjust the other sibling shapes. It's easy enough to add that as a feature, but I wanted to avoid unintended consequences. Sometimes you really do mean to have partial pixel placement.
• If you select a group and run the command this will clean up
the group AND all of its children, and all sub groups, and all of THEIR children
Note: In Sketch, the inspector doesn't instantly update refresh when these properties are changed, so though things will move correctly, you have to deselect/reselect to see the change in the inspector. I didn't auto-deselect so you wouldn't loose your initial selection.
All feedback and issues are welcome! Happy pixel hunting!
This is a beta. Use at your own risk. It's generally good practice anyway but use version control before trying this out on an important document
Join the discussion
Avg. user activity in the last 30 days
- 184 downloads all–time
- 2 downloads this week
- 8 downloads this month
About this plugin
stackdevelopment published this plugin 3y ago.
v0.5.0 is the latest version.
Native updates are supported within Sketch.app.