mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-08 05:51:40 -07:00
fix mask editor,
upd manuals
This commit is contained in:
parent
0fa9d269ec
commit
de8d75b4f7
9 changed files with 127 additions and 77 deletions
|
@ -273,8 +273,8 @@ def main(args, device_args):
|
|||
is_showing = True
|
||||
|
||||
key_events = io.get_key_events(wnd_name)
|
||||
key, = key_events[-1] if len(key_events) > 0 else (0,)
|
||||
|
||||
key, chr_key, ctrl_pressed, alt_pressed, shift_pressed = key_events[-1] if len(key_events) > 0 else (0,0,False,False,False)
|
||||
|
||||
if key == ord('\n') or key == ord('\r'):
|
||||
s2c.put ( {'op': 'close'} )
|
||||
elif key == ord('s'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue