google / google/codeworld

Disable toolbar buttons when not relevant

Aperta
#910 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The new toolbar is useful, but sometimes misleading. If there's no selection, then Cut and Copy should be disabled. If Undo or Redo are not possible (because there's no history in that direction), then they should be disabled, as well. In general, if there were an easy way to enable or disable toolbar buttons, then there are probably a lot of checks we could add to guard them.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.