Remove useless check

This commit is contained in:
XorTroll 2019-10-27 13:58:04 +01:00
parent 972569d816
commit 1c82136062

View file

@ -36,11 +36,6 @@ namespace QForegroundViewer
private void ResizeButton_Click(object sender, EventArgs e)
{
var factor = IncrementNumeric.Value;
if(factor == 0.0m)
{
MessageBox.Show("Try setting a value higher than 0!");
return;
}
int w = (int)(1296 * factor);
int h = (int)(759 * factor);
main.Width = w;