-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RN: Fix Element Inspector w/ Negative Margins
Summary: There is a bug with the React Native element inspector when the inspected element has negative margins because negative margins actually subtract from the content width and height. This fixes the bug. @public Reviewed By: TheSavior Differential Revision: D8607389 fbshipit-source-id: 2cea0d9160b5437fe775b2ba25373072bafd70b9
- Loading branch information
1 parent
80f7891
commit 8b6f1c3
Showing
1 changed file
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters