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.

貢獻者指南