Add API access for more Editor positions
まだ誰も着手していません。
評価
調査の方向性
まず、editor.Scroll と editor.Zoom の既存の scripting API を確認し、次に Timeline、palette、color picker、sprite tabs、preview window がどのように状態を公開しているかを調べます。列挙されている位置、サイズ、表示状態、ズーム、再生状態のうち、どれを一貫して表現できるかを判断します。対応する状態について、スクリプトを妨げることなく、getter と setter の動作が文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Over the years of making plugins, I've often wanted to make sure to store or reset the editor as close to it's original state as possible after running a script or plugin. For example, if I'm reloading a sprite, I'd still want the editor.Scroll and editor.Zoom to remain the same so the reload isn't as jarring.
However, there are multiple areas of the editor where this isn't possible, because there is no API access to the state, position or zoom of these areas. For example, adding a temporary layer and then deleting it leads to the Timeline's position to automatically focus the location of the new layer, without any way to set it back. Adding both getters and setters for these areas would make it easier to run scripts without disruption.
I'd love for these to be added, although I'm probably missing some:
editor.timeline.zoomeditor.timeline.scrolleditor.timeline.windowsize: The size of the editor area, so we can adjust how wide/high the area iseditor.timeline.visible: Whether the timeline is visible or invisible (View > Timeline)`editor.advancedmode: Which mode is currently on (normal, editor focus or editor only)editor.palette.scrolleditor.palette.zoomeditor.palette.windowsize: The size of the palette area, so we can adjust how wide/high the area iseditor.colorpicker.windowsize: The size of the colorpicker area, so we can adjust how wide/high the area issprite.tabIndex: The order in which the sprites are shown at the top of the editoreditor.previewwindow.zoomeditor.previewwindow.scrolleditor.previewwindow.visible: `Whether the preview window is enabled or disablededitor.previewwindow.play: Whether the preview window is playing or not- `editor.previewwindow.followcenter : Whether the preview window is showing a static location of the sprite, or whether it is following the center of the main editor window
editor.previewwindow.position: The position of the window on the screen(s)editor.previewwindow.size: The size of the preview window
Names are placeholder ofcourse!
- 主要言語
- 言語のデータがありません
- スター
- 312
- フォーク
- 68
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aseprite/api のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Document dialog:entry placeholder property再び着手できるかも @crashtestjava が 50 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
Document dialog:samerow再び着手できるかも @crashtestjava が 50 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
-
Document onSave/beforeSave sprite.events再び着手できるかも @crashtestjava が 50 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langchain-ai/deepagentsjs#898 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug documentation P2 UI/UX
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
BasedHardware/omi#20084 ·
メンテナーはふだん 1 日以内に返信