From 44986e2f02f36b2934f40dad73bd94d68962e741 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Wed, 29 Apr 2020 13:40:38 +0200 Subject: [PATCH] Add support for step size in Slider Co-Authored-By: karlwessel --- Project.toml | 2 +- src/Builtins.jl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index c7510366..8d8672d5 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "PlutoUI" uuid = "7f904dfe-b85e-4ff6-b463-dae2292396a8" authors = ["Fons van der Plas "] -version = "0.2.0" +version = "0.2.1" [deps] diff --git a/src/Builtins.jl b/src/Builtins.jl index 582d8a7a..9147a199 100644 --- a/src/Builtins.jl +++ b/src/Builtins.jl @@ -5,7 +5,7 @@ struct Slider end function show(io::IO, ::MIME"text/html", slider::Slider) - print(io, """""") + print(io, """""") end peek(slider::Slider) = first(slider.range) @@ -13,7 +13,7 @@ peek(slider::Slider) = first(slider.range) struct Button - label::String + label::AbstractString end Button() = Button("Click")