Commit 03422c89 authored by Matheus Müller's avatar Matheus Müller

Impedido que desenho de profile permita valores maiores que 1

parent a0915a37
......@@ -222,6 +222,9 @@ def ewin_build(window, OFlabentries, mainwindow, calcbutton, distvar, modevar, L
Control['drawing']=False
Control['scaling']=False
Control['shifting']=False
for y in range(len(Edict[Econtrol]['dist'].data)):
if Edict[Econtrol]['dist'].data[y] > 1:
Edict[Econtrol]['dist'].data[y] = 1.
def abrupt(event):pass
......
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment