File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to the ` Serial Monitor ` crate will be documented in this file.
44
5- # Unreleased 0.3.0
5+ # Unreleased 0.3.x
6+
7+ # 0.3.2
8+
9+ * fixed display of only one dataset bug
10+
11+ ## 0.3.1 - 8.12.2024
612
713### Added:
814
Original file line number Diff line number Diff line change 11[package ]
22name = " serial-monitor-rust"
3- version = " 0.3.1 "
3+ version = " 0.3.2 "
44edition = " 2021"
55authors = [" Linus Leo Stöckli" ]
66description = " Serial Monitor and Plotter written in rust."
@@ -28,7 +28,7 @@ log = "0.4.22"
2828name = " Serial Monitor"
2929identifier = " com.hacknus.serial_monitor"
3030icon = [" ./icons/install.png" ]
31- version = " 0.3.1 "
31+ version = " 0.3.2 "
3232copyright = " Copyright (c) hacknus 2023. All rights reserved."
3333category = " Developer Tool"
3434short_description = " Serial Monitor and Plotter written in rust."
@@ -42,5 +42,5 @@ dbg-name = false
4242name = " Serial Monitor"
4343no-build = false
4444output = " target/wix/SerialMonitorInstaller.msi"
45- version = " 0.3.1 "
45+ version = " 0.3.2 "
4646license = " GPL-3.0"
Original file line number Diff line number Diff line change @@ -307,11 +307,11 @@ impl MyApp {
307307 let plot_inner = signal_plot. show ( ui, |signal_plot_ui| {
308308 for ( i, graph) in graphs. iter ( ) . enumerate ( ) {
309309 // this check needs to be here for when we change devices (not very elegant)
310- if i < self . serial_devices . labels [ self . device_idx ] . len ( ) {
310+ if i < self . labels . len ( ) {
311311 signal_plot_ui. line (
312- Line :: new ( PlotPoints :: Owned ( graph. to_vec ( ) ) ) . name (
313- & self . serial_devices . labels [ self . device_idx ] [ i ] ,
314- ) ,
312+ Line :: new ( PlotPoints :: Owned ( graph. to_vec ( ) ) )
313+ . name ( & self . labels [ i ] )
314+ . color ( self . colors [ i ] ) ,
315315 ) ;
316316 }
317317 }
You can’t perform that action at this time.
0 commit comments