Skip to content

Fix: 지우개 툴 선택 후 선택툴 클릭시 요소 삭제 오류 #177

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

Closed
Byeonjin opened this issue Dec 2, 2023 · 0 comments · Fixed by #179
Closed

Fix: 지우개 툴 선택 후 선택툴 클릭시 요소 삭제 오류 #177

Byeonjin opened this issue Dec 2, 2023 · 0 comments · Fixed by #179
Assignees
Labels
FE 프론트엔드 작업 🐞 Fix 버그 수정
Milestone

Comments

@Byeonjin
Copy link
Collaborator

Byeonjin commented Dec 2, 2023

버그 설명

지우개 툴 선택 후 선택툴 클릭시 요소 삭제 오류

재현 방법

  1. 지우개 툴을 이용해 다른 그래픽 요소를 지운다.
  2. 선택 툴로 바꿔 다른 요소를 선택하면 그 요소가 지워진다.

예상한 결과

선택툴로 요소를 선택하더라도 요소가 지워지면 안된다.

스크린샷

2023-12-02.6.56.21.mov

디바이스 환경

Desktop

  • OS: MacOS-Ventura-13.6.1(22G313)
  • Browser: chrome
  • Version: 119.0.6045.199(공식 빌드) (x86_64)

추가 내용

@Byeonjin Byeonjin added 🐞 Fix 버그 수정 FE 프론트엔드 작업 labels Dec 2, 2023
@Byeonjin Byeonjin added this to the 4주차 milestone Dec 2, 2023
@Byeonjin Byeonjin self-assigned this Dec 2, 2023
Byeonjin referenced this issue in Byeonjin/web13_Boarlog Dec 2, 2023
- 원인: 지우개의 selection:created 이벤트가 등록된 상태로 선택 툴에서 같은 이벤트가 발생해 그래픽 요소 삭제
- 해결: 툴이 바뀔 때마다 이벤트를 지워주는 코드가 있는데 selection:created도 지우도록 했습니다.
Byeonjin referenced this issue in Byeonjin/web13_Boarlog Dec 2, 2023
- 원인: 지우개의 selection:created 이벤트가 등록된 상태로 선택 툴에서 같은 이벤트가 발생해 그래픽 요소 삭제
- 해결: 툴이 바뀔 때마다 이벤트를 지워주는 코드가 있는데 selection:created도 지우도록 했습니다.
Byeonjin added a commit that referenced this issue Dec 4, 2023
Fix(#177, #178): 화이트보드(지우개, 메모지) 관련 버그 수정
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FE 프론트엔드 작업 🐞 Fix 버그 수정
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant