Skip to content

Instantly share code, notes, and snippets.

View jordens's full-sized avatar

Robert Jördens jordens

View GitHub Profile
@jordens
jordens / todo.md
Last active February 23, 2016 18:47 — forked from cr1901/todo.md
ScanWidget Todo

To Fix (Bugs)

  • Code cleanup (yapf, flake8, no unused imports, no stubs, useful comments)
  • Slider positions need to be updated during zoom; have not figured out a "clean" way to do this that doesn't involve signals or unnecessary inter-object communication. I may remove the event filter completely.
  • Fix FitToView and ZoomToFit idempotency.
    • Related to slider-to-pixel transform having an offset of slider_width/2 pixels.
  • At large zooms, the sliders start taking the wrong positions due to floating point errors?
  • Check that recalculating the zoom transform in fact has a relative error of 10^-15, not absolute error. If latter, rethink transform.
  • Remove asserts (or catch AssertionFailure) and just refuse to honor zooms at some point.

To Modify (Not technically broken, but needs to be changed on request)