Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The function dialog sometimes obscures the view (perhaps allow to drag+move it?) #34

Open
shlomif opened this issue Sep 4, 2016 · 1 comment
Labels

Comments

@shlomif
Copy link
Contributor

shlomif commented Sep 4, 2016

cube-composer-screenie-with-function-dialog-obscuring-the-view

Hi and thanks for cube-composer!

As can be seen in the screenshot, the function's dialog sometimes obscures the view of the cubes, even on a 1920*1080 screen like mine. One thing that can be done is allowing to drag and move it so the rest of the page will be visible. There's http://www.walterzorn.de/en/dragdrop/dragdrop_e.htm for that (which seems old) and I also found http://www.useragentman.com/blog/2010/01/10/cross-browser-html5-drag-and-drop/ but the latter link seems overly detailed.

@sharkdp
Copy link
Owner

sharkdp commented Sep 4, 2016

Thank you for the report.

I think I'd prefer a solution to this problem which is automatic in the sense that the user does not have to do anything. There are three ways to to this (that I can think of right now):

  1. Restrict the number of functions in the program (easy but not a very pretty solution)
  2. Move old steps (old 'walls' of cubes) out to the left once the right boundary is reached.
  3. Have an adaptive spacing between two 'walls' of cubes, which gets smaller once there are many walls/steps (my preferred solution)

Note that this is also related to #22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants