GithubHelp home page GithubHelp logo

Comments (11)

niwinz avatar niwinz commented on May 5, 2024

That is expected.

from penpot.

elhombretecla avatar elhombretecla commented on May 5, 2024

Yep.

Every page grid setup is included in its own storage. So each page could have different grid settings, visibility of the grid included :)

from penpot.

niwinz avatar niwinz commented on May 5, 2024

And the grid visibility is just a flag on workspace. So if you load an other page, the workspace is reinitialized in order to not preserve the other page state.

from penpot.

studiospring avatar studiospring commented on May 5, 2024

Sorry, my gif was not very clear. Here is a better one.

grid

Hopefully you can see that when I return to page 0, the page 0 grid is disabled, even though it was showing before I switched to page last.

from penpot.

niwinz avatar niwinz commented on May 5, 2024

Yeah, this is the expected behavior. As I said, the grid visibility is a flag on the workspace. And it is reset on page change. Feel free to open an enhancement to make the flags page aware, but at this moment it is low priority.

from penpot.

studiospring avatar studiospring commented on May 5, 2024

Ok, it seems unintuitive to me, but since it is low priority I will leave it for now.

from penpot.

elhombretecla avatar elhombretecla commented on May 5, 2024

We did this way because you could have different grid settings depending on the stuff you're working on. Probably you need different grid sizing depending on a mobile or desktop design on the same project.

from penpot.

studiospring avatar studiospring commented on May 5, 2024

@elhombretecla, having different grid settings for different pages makes sense. But disabling my grid when I change pages does not.

from penpot.

niwinz avatar niwinz commented on May 5, 2024

@studiospring after a brief meeting with @elhombretecla we have decided change the current approach to a slightly different one. That consists on:

  • The grid visibility and grid magnet will become a workspace flags (the flags will not be reset on page changes).
  • The grid size and the grid color will be page properties.
  • You should be able activate the magnet and grid separately, allowing the user having magnet without the visible grid.

from penpot.

studiospring avatar studiospring commented on May 5, 2024

@niwinz that makes a lot more sense to me. Thanks.

from penpot.

niwinz avatar niwinz commented on May 5, 2024

Should be fixed in master.

from penpot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.