dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Can't zoom in after zooming out #144

Closed ryan-williams closed 9 years ago

ryan-williams commented 9 years ago

Ported from cycledash #547.

I open a 50bp window:

I zoom out:

At this point, clicking "zoom in" seems to no-op, which is confusing.

ryan-williams commented 9 years ago
  1. it would be nice if zooming in/out was "undo"able in some sense.
  2. failing that, disabling each zoom button when it won't have an effect would help.

thanks!

dasmoth commented 9 years ago

1) Absolutely agree re: undoability. Actually, I think all UI actions in the browser should be undoable, but it's probably a little way off.

2) Good idea, I'll do that.

dasmoth commented 9 years ago

Buttons are now disabled when you can't zoom further.

Undo is still on the agenda for a future version.