mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 08:56:15 +02:00
Check if the value of UpdateInterval is valid
This commit is contained in:
@@ -255,7 +255,10 @@ namespace DesktopMagic
|
|||||||
|
|
||||||
Bitmap result = pluginClassInstance.Main();
|
Bitmap result = pluginClassInstance.Main();
|
||||||
|
|
||||||
|
if (pluginClassInstance.UpdateInterval > 0)
|
||||||
|
{
|
||||||
valueTimer.Interval = pluginClassInstance.UpdateInterval;
|
valueTimer.Interval = pluginClassInstance.UpdateInterval;
|
||||||
|
}
|
||||||
|
|
||||||
//Update Image
|
//Update Image
|
||||||
Dispatcher.Invoke(() =>
|
Dispatcher.Invoke(() =>
|
||||||
|
|||||||
Reference in New Issue
Block a user