Changeset - 9d927a271fbb
[Not reviewed]
default
0 1 0
Jason Maltzen (jmaltzen) - 6 years ago 2018-05-17 19:11:12
jason.maltzen@unsanctioned.net
Turn off record button when captured color is clipped.
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
UI/CaptureView.cs
Show inline comments
...
 
@@ -400,4 +400,6 @@ namespace DesertPaintLab
 
                }
 

	
 
                // Always update the reacted swatch
 
                this.reactionSwatch.Color = reactedColor;
 
                if (warning.Length != 0)
 
                {
...
 
@@ -412,8 +414,9 @@ namespace DesertPaintLab
 
                    md.Run();
 
                    md.Destroy();
 
                    // reaction clipped - don't let them record
 
                    recordButton.Sensitive = false;
 
                }
 
                else
 
                {
 
                    this.reactionSwatch.Color = reactedColor;
 
                    recordButton.Sensitive = recordEnabled;
 
                }
0 comments (0 inline, 0 general)