Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
[Fixes #8] plus sign
Browse files Browse the repository at this point in the history
  • Loading branch information
rodi01 committed Jul 4, 2014
1 parent 9829ccf commit c7d854f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Rename It.sketchplugin
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ function rename(layerName, currIdx, width, height) {
}

// Add to current name
if (newLayerName[0] == "+")
var plusSign = newLayerName.search("\\+");
if (plusSign != -1)
newLayerName = layerName + basename.substring(1);

// Wild Card Selector
Expand Down

0 comments on commit c7d854f

Please sign in to comment.