From a0d12ecbac8fe327d1dcd4580fee594e24d4191b Mon Sep 17 00:00:00 2001 From: Arturs Artamonovs Date: Mon, 6 Jan 2025 12:30:49 +0000 Subject: Waterfall: UI drawing from file --- Radio/Utils/WaterfallFile/SimpleImage.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Radio/Utils/WaterfallFile/SimpleImage.swift') diff --git a/Radio/Utils/WaterfallFile/SimpleImage.swift b/Radio/Utils/WaterfallFile/SimpleImage.swift index c05709f..4f1bed8 100644 --- a/Radio/Utils/WaterfallFile/SimpleImage.swift +++ b/Radio/Utils/WaterfallFile/SimpleImage.swift @@ -32,7 +32,7 @@ public class SimpleImage { func drawPalletLine(line: Int, pixelLine:[Float]) { for i in 0..256.0 { + if pixel>255.0 { //print("values to high") pixel = 255.0 } -- cgit v1.2.3