hansi-b / SimplerTimes

A minimalistic JavaFX time tracker
0 stars 0 forks source link

Sync state of buttons to selection states #7

Closed hansi-b closed 1 year ago

hansi-b commented 2 years ago

Guard the user against useless button presses

  1. Play must be disabled while no project is selected.
  2. Should the project tree be disabled while playing?

Also needs FX tests. Might involve rethinking the current maincontroller / buttonstrip split.

hansi-b commented 1 year ago

Extracted "SpanRecorder" which defines which nodes are enabled at what point. Project tree is disabled during recording, might change that again later.