dialogos-project / dialogos

The DialogOS dialog system.
https://www.dialogos.app
GNU General Public License v3.0
21 stars 8 forks source link

Center silent-mode input window on window #142

Open alexanderkoller opened 5 years ago

alexanderkoller commented 5 years ago

Currently, when the speech recognizer displays the silent-mode input window, it is centered on the screen, which looks a bit awkward. It would be nicer to center the input window with respect to the current document. However, the currentDocument in the Main class is set to null quite frequently: in particular, when the speech recognizer window (with the input volume bar) is displayed.

Figure out a way to place the input window more nicely. A relevant place is marked in the source code with #142.