AdamsLair/duality

Keyboard Navigation of Tile Palette Selection

开放

#733 创建于 2019年7月8日

 (0 条评论) (0 个反应) (0 位负责人)C# (287 个派生)auto 404
EditorFeatureGood First IssueHelp WantedNice2HaveTilemapsUsability

仓库指标

星标
 (1,425 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Summary

While editing Tilemaps, the process of changing the selected source tile from the Tile Palette takes a considerable amount of time, mostly due to mouse travel and readjustment time. Keyboard shortcuts to change selection could improve this workflow.

Analysis

  • All selection shortcuts should work both in the Tile Palette itself, and in the Tilemap Editor. A good way to achieve this might be to expose the required high level functionality in public API of the Tile Palette and invoke it from both places when the keys are detected.
  • Arrow keys could move the current selection along the view.
    • If more than one tile was selected, first collapse to the top left selected tile.
    • If no tile was selected, select the top left [0, 0] tile.
  • Shift + Arrow keys expand / shrink the selection area in the specified direction.

贡献者指南