Surface methods should be replaced by new core methods in the reference
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 48/100
- Issue 類型
- 文件
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
研究方向
從 docs/reference.md 以及與 setResizable、setLocation 和 setTitle 相關聯的參考頁面開始。更新參考文件,描述列出的六個視窗方法和事件處理常式,然後驗證檢查清單中的每一項都已涵蓋,並且 legacy surface 方法已標示為向後相容。
由索引模型根據 Issue 內容生成。
描述
Processing 4 added new core functions to replace the surface methods as can be seen in the Beta 5 and Beta 7 release notes. These changes are also mentioned here https://github.com/processing/processing4/issues/53
The reference needs to be updated to reflect those updates:
-
windowResize(w, h)replacessurface.setSize(w, h) -
windowResizable()replacessurface.setResizable()(reference) -
windowMove(x, y)replacessurface.setLocation(x, y)(reference) -
windowTitle()replacessurface.setTitle()(reference) - new
windowResized()event handler - new
windowMoved()event handler
In case you want to contribute to this task, here is how to edit the reference.
Note: surface methods are still backwards compatible but you are encouraged to use the new methods for future sketches
- 主要語言
- MDX
- 星號
- 91
- 分支
- 121
- 平均合併
- 1 小時 15 分鐘
- 30 天內合併 PR
- 5
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
processing/processing-website 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
processing/processing-website#716 ·
維護者通常 1 天內回覆
-
Missing isLooping documentation可能已有人在做 @sharadvc 於 23 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 68/100
processing/processing-website#703 ·
維護者通常 1 天內回覆
-
Typo in frameCount documentation page可能重新可做 關聯的 PR 已關閉且未合併。 未關閉Good First Issue Help Wanted Reference
難度 1/5 1 小時以內 新手友好度 90/100
processing/processing-website#698 · 5 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
Some links in package.json still link to the DSI repo and should be updated.可能已有人在做 @sharadvc 於 23 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 72/100
processing/processing-website#681 · 2 則留言 ·
維護者通常 1 天內回覆
-
download link doesn't link to downloads可能已有人在做 @sharadvc 於 23 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
processing/processing-website#646 · 3 則留言 ·
維護者通常 1 天內回覆
查看 processing/processing-website 的全部 Issue
相似的 Issue
-
area:docs bug triage:confirmed
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 90/100
FootprintAI/Containarium#2338 ·
維護者通常 1 天內回覆
-
documentation
難度 1/5 1 小時以內 新手友好度 76/100
EchoTools/nevr-runtime#110 ·
維護者通常 1 天內回覆
-
needs-human needs-triage
難度 2/5 1-3 小時 新手友好度 76/100
gke-labs/kube-agents#2400 · 1 則留言 ·
維護者通常 1 天內回覆