Skip to content

Tweaks to margin / padding visualizer #44700

Closed

Description

@mtias

It'd be nice if hovering or focusing on the margin / padding / gap tools would display the overlays even if you are not dragging the value handles. cc @talldan .

It also seems like we should try to not render the toolbar while showing the overlays (at least margin). It should feel a bit more like engaging "is typing" to avoid the toolbar rendering through:

before

Activity

  1. added
    [Type] Enhancement
    [Feature] Design Tools
    on Oct 5, 2022
  2. self-assigned this
    on Oct 6, 2022
  3. glendaviesnz commented on Oct 13, 2022

    @glendaviesnz
    Contributor

    @mtias did you have any thoughts on whether the visualiser should appear for the duration of the time that you are moused over the control, or just appear briefly as it does now when adjusting sizes?

  4. mtias commented on Oct 13, 2022

    @mtias
    MemberAuthor

    Not quite sure, would need to get a feel for it.

  5. glendaviesnz commented on Oct 13, 2022

    @glendaviesnz
    Contributor

    it seems a little odd just having a brief view of the visualiser when mousing over to match the same temporary view when adjusting:

    mouseover-brief.mp4

    seems to work better to keep the visualiser in place the whole time moused over the control:

    hover-permanent.mp4
  6. glendaviesnz commented on Oct 14, 2022

    @glendaviesnz
    Contributor

    A PoC PR here for the mouseover part of this.

  7. talldan commented on Oct 14, 2022

    @talldan
    Contributor

    seems to work better to keep the visualiser in place the whole time moused over the control

    Agree, that works really well. 👍

  8. mtias commented on Oct 14, 2022

    @mtias
    MemberAuthor

    Indeed, let's keep it visible during the whole interaction.

  9. talldan commented on Nov 25, 2022

    @talldan
    Contributor

    I think this is mostly done now, though perhaps one thing that's missing is that the visualizer doesn't show on focus of the padding or margin controls.

  10. glendaviesnz commented on Nov 27, 2022

    @glendaviesnz
    Contributor
  11. talldan commented on Dec 5, 2022

    @talldan
    Contributor

    That's great! Nice work, I'll close this issue as completed 🎉

  12. mtias commented on Dec 5, 2022

    @mtias
    MemberAuthor

    One thing to keep in mind — I mentioned in another PR that it'd be good to explore a more systematic approach to interactions that should / could hide the toolbar like "is typing" does. Direct manipulations of inspector control tools come to mind in general, but also canvas resizing.

  13. glendaviesnz commented on Dec 5, 2022

    @glendaviesnz
    Contributor

    One thing to keep in mind — I mentioned in another PR that it'd be good to explore a more systematic approach to interactions that should / could hide the toolbar like "is typing" does. Direct manipulations of inspector control tools come to mind in general, but also canvas resizing.

    @mtias there is some more work being done around this here

  14. mtias commented on Dec 7, 2022

    @mtias
    MemberAuthor

    Is #46192 the best issue to track the work?

  15. glendaviesnz commented on Dec 7, 2022

    @glendaviesnz
    Contributor

    Is #46192 the best issue to track the work?

    I think so, and have now updated the title to better reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

[Feature] Design Tools[Type] Enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions