fonsp / Pluto.jl

🎈 Simple reactive notebooks for Julia
https://plutojl.org/
MIT License
4.91k stars 284 forks source link

Fix invisible button issues on touch displays #2745

Closed fonsp closed 7 months ago

fonsp commented 7 months ago

Before

The "add cell" buttons (+) only show around the focused cell.

image

After

The "add cell" buttons (+) always show, and have higher contrast when the cell is in focus.

image
github-actions[bot] commented 7 months ago

Try this Pull Request!

Open Julia and type:

  julia> import Pkg
  julia> Pkg.activate(temp=true)
  julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="touch-display-button-visibility")
  julia> using Pluto
fonsp commented 7 months ago

This PR also ensures that buttons focused using Tab will be visible, even if the cell is not being hovered.