Added a Draft prefs option to hide the Snap bar after use

This commit is contained in:
Yorik van Havre
2012-03-19 15:45:49 -03:00
parent 1c4d89013b
commit 23ddc2d30f
4 changed files with 343 additions and 309 deletions

View File

@@ -609,6 +609,8 @@ class Snapper:
self.unconstrain()
self.radius = 0
self.setCursor()
if Draft.getParam("hideSnapBar"):
self.toolbar.hide()
def constrain(self,point,basepoint=None,axis=None):
'''constrain(point,basepoint=None,axis=None: Returns a