Created
July 16, 2021 12:22
-
-
Save dacap/5091be53b6441b57b2c4e8b882823587 to your computer and use it in GitHub Desktop.
Script to switch the "Refer To" option for floodfill-like tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local toolPref = app.preferences.tool(app.activeTool) | |
if toolPref.floodfill.refer_to == 1 then | |
toolPref.floodfill.refer_to = 0 | |
else | |
toolPref.floodfill.refer_to = 1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment