KEMBAR78
Fix #281: Get rid of the global current pressure state by kenchris · Pull Request #292 · w3c/compute-pressure · GitHub
Skip to content

Conversation

kenchris
Copy link
Contributor

@kenchris kenchris commented Sep 19, 2024

Let |record:PressureRecord| be |observer|.{{PressureObserver/[[LastRecordMap]]}}[|source|].
</li>
<li>
If |record|.{{PressureRecord/[[State]]}} is not equal to |state| and [=change in contributing factors is substantial=]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change related to the rest? It doesn't seem to reference [=current pressure state=].

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is. This is done on the global value now instead of per observer.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. It'd be good to explain this in the commit/PR message, as it's not immediately clear just by looking at the patch.

Copy link
Member

@rakuco rakuco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm modulo the explanation comment

@kenchris kenchris merged commit fc903fb into w3c:main Sep 19, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants