Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Style.t isn't enough, should we add Style.calculated? #523

Open
@MoOx

Description

@MoOx

As we know, all stylesheet values cannot be used in various places to add/combine styles (because they areint). Also we cannot use array() in stylesheets (runtime error).

Should we do something (at least try to) to avoid this kind of issue?

MaybeStyleSheet.create could returnsStyle.calculated so we cannot reuse those styles (& btw,flatten could only accept those styles ?).
That would make more complex the way we allow to use style in array for example but I wanted to give it a shot...

Also, in#520 we are saying thatabsoluteFill &absoluteFillObject are "the same" but they are not are one is a js object & the other is an int...

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp