Don't cover the description text with the recording indicator dot
This commit is contained in:
parent
45c17cfaa4
commit
ea038ae06b
|
@ -67,7 +67,7 @@ public class ThumbCell extends StackPane {
|
||||||
ContextMenu popup;
|
ContextMenu popup;
|
||||||
private final Color colorNormal = Color.BLACK;
|
private final Color colorNormal = Color.BLACK;
|
||||||
private final Color colorHighlight = Color.WHITE;
|
private final Color colorHighlight = Color.WHITE;
|
||||||
private final Color colorRecording = new Color(0.8, 0.28, 0.28, 1);
|
private final Color colorRecording = new Color(0.8, 0.28, 0.28, .8);
|
||||||
private SimpleBooleanProperty selectionProperty = new SimpleBooleanProperty(false);
|
private SimpleBooleanProperty selectionProperty = new SimpleBooleanProperty(false);
|
||||||
private double imgAspectRatio = 3.0 / 4.0;
|
private double imgAspectRatio = 3.0 / 4.0;
|
||||||
|
|
||||||
|
@ -416,7 +416,9 @@ public class ThumbCell extends StackPane {
|
||||||
private void update() {
|
private void update() {
|
||||||
setRecording(recorder.isRecording(model));
|
setRecording(recorder.isRecording(model));
|
||||||
setImage(model.getPreview());
|
setImage(model.getPreview());
|
||||||
topic.setText(model.getDescription());
|
String txt = recording ? " " : "";
|
||||||
|
txt += model.getDescription();
|
||||||
|
topic.setText(txt);
|
||||||
|
|
||||||
if(Config.getInstance().getSettings().determineResolution) {
|
if(Config.getInstance().getSettings().determineResolution) {
|
||||||
determineResolution();
|
determineResolution();
|
||||||
|
|
Loading…
Reference in New Issue