This repository has been archived by the owner on May 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
refactoring for map editor #80
Labels
enhancement
Improvements or refactorings on existing features
refactoring
Reconstruct existing codes
Comments
Merged
為了 #65 的拖拉功能,需要透過 ref 對 Konva 實作
|
好奇是否可以用 callback ref ?之前我是這樣拿到 Konva node 的:
sensetw/sensemap/src/components/Map/Tag/index.tsx Lines 61 to 63 in 89d0ea5
|
在 action-type branch 中,為了 |
Closed
aelcenganda
added this to the M14: 10/09 - 10/22 (8days) - Edge 物件化、Full History milestone
Oct 9, 2018
aelcenganda
removed this from the M14: 10/09 - 10/22 (8days) - Edge 物件化、Full History milestone
Oct 9, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
enhancement
Improvements or refactorings on existing features
refactoring
Reconstruct existing codes
deleteXXX
全部改成removeXXX
,因為delete
是 JavaScript 的 keyword 所以 TypeScript 會不開心。cc Add edge, close #63 #76Map/Card
和Map/Box
裡處理拖拉的邏輯(包含newlySelected
state)抽出來變成獨立的 component,讓這些 object component 恢復為 pure function。The text was updated successfully, but these errors were encountered: