Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undo가 몇개 빠지는 경우 #93

Open
serendipitydeity opened this issue Jul 27, 2013 · 1 comment
Open

undo가 몇개 빠지는 경우 #93

serendipitydeity opened this issue Jul 27, 2013 · 1 comment

Comments

@serendipitydeity
Copy link
Member

remove처럼 애니메이션이 들어가서 시간이 걸리는 경우 이걸 처리하는 중간에 undo가 또 들어가면 이걸 처리하지 못하고 몇개 빼먹음
ex. ctrl-m을 겁나 누르다가 ctrl-z를 겁나 누르는 경우 중간에 몇개 빠짐

remove 처럼 애니메이션이 있는 경우 애니메이션이 끝나고 다음 액션이 실행되는게 아니라 동시에 실행되도록 해야할듯

참고 ->

ctrl-m으로 시트를 잔뜩 만들어두고 콘솔에서
for (k in stage.sheets) { stage.sheets[k].socketRemove() } 를 부르면 어떤 상황인지 보임

@kindone
Copy link
Member

kindone commented Jan 5, 2014

어떤 식으로 처리해야할지?

  1. ctrl-z를 누르면 언두 액션들이 queue같은 구조에 들어가서 준비가 끝날면 하나씩 실행하게 하는 방법
  2. 아예 준비된 상황이 아니면 ctrl-z를 씹어버리는 방법

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants