Skip to content

[Fabric] Shim RCTPixelValue to take scale factor #1586

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

Merged
merged 8 commits into from
Dec 22, 2022

Conversation

shwanton
Copy link

@shwanton shwanton commented Dec 13, 2022

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Fabric on macOS implementation:
Shim RCTPixelValue to take scale factor

closes #1555

Changelog

[macOS][Added] - [Fabric] Shim RCTPixelValue to take scale factor

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no RCTPixelValue errors
CleanShot 2022-12-12 at 15 50 53

Build errors:
Build RNTester-macOS_2022-12-09T16-25-02.txt

[x] Build RNTester - iOS w/ Fabric
Uploading CleanShot 2022-12-12 at 16.04.26.jpg…

[x] Build RNTester-macOS w/ Paper - should work
CleanShot 2022-12-12 at 15 45 36

[x] Build RNTester - iOS w/ Paper - should work
CleanShot 2022-12-12 at 15 44 44

@shwanton
Copy link
Author

53587dc will be removed once it's merge into main

@shwanton
Copy link
Author

closes #1555 #1561

@shwanton shwanton marked this pull request as ready for review December 13, 2022 00:18
@shwanton shwanton requested a review from a team as a code owner December 13, 2022 00:18
@analysis-bot
Copy link

analysis-bot commented Dec 15, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 9669c10
Branch: main

@Saadnajmi Saadnajmi merged commit 8a58719 into microsoft:main Dec 22, 2022
@shwanton shwanton deleted the fabric/shim-rctpixelvalue branch December 22, 2022 21:07
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
* Fix RCTUISwitch definition removed in microsoft#1576

* Shim RCTPixelValue to take scale factor

* Remove extra semicolon

* Fix macOS tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
* Fix RCTUISwitch definition removed in microsoft#1576

* Shim RCTPixelValue to take scale factor

* Remove extra semicolon

* Fix macOS tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
* Fix RCTUISwitch definition removed in microsoft#1576

* Shim RCTPixelValue to take scale factor

* Remove extra semicolon

* Fix macOS tags

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
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.

Fix RCTCeilPixelValue scale
4 participants