Plot-ho-matic 0.4.0.0 → 0.4.0.1
raw patch · 2 files changed
+6/−6 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Plot-ho-matic.cabal +2/−2
- src/GraphWidget.hs +4/−4
Plot-ho-matic.cabal view
@@ -1,5 +1,5 @@ name: Plot-ho-matic-version: 0.4.0.0+version: 0.4.0.1 synopsis: Real-time line plotter for protobuf-like data license: BSD3 license-file: LICENSE@@ -55,7 +55,7 @@ hs-source-dirs: examples main-is: Example.hs default-language: Haskell2010- build-depends: base >= 4.6 && < 5+ build-depends: base >= 4.5 && < 5 , Plot-ho-matic , containers
src/GraphWidget.hs view
@@ -301,13 +301,13 @@ k <- Gtk.comboBoxGetActive xAxisTypeSelector _ <- case k of 0 -> CC.modifyMVar_ graphInfoMVar $- \gi -> return $ gi {giXAxisType = XAxisCounter}- 1 -> CC.modifyMVar_ graphInfoMVar $ \gi -> return $ gi {giXAxisType = XAxisShiftedCounter}+ 1 -> CC.modifyMVar_ graphInfoMVar $+ \gi -> return $ gi {giXAxisType = XAxisCounter} 2 -> CC.modifyMVar_ graphInfoMVar $- \gi -> return $ gi {giXAxisType = XAxisTime}- 3 -> CC.modifyMVar_ graphInfoMVar $ \gi -> return $ gi {giXAxisType = XAxisShiftedTime}+ 3 -> CC.modifyMVar_ graphInfoMVar $+ \gi -> return $ gi {giXAxisType = XAxisTime} _ -> error "the \"impossible\" happened: x scaling comboBox index should be < 4" return () updateXAxisTypeSelector