Skip to content

Commit

Permalink
Put style in dedicated object
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed Apr 30, 2024
1 parent 224993c commit 4bd25e9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const styles = {
icon: {
fontSize: 18,
},
scrollView: { paddingTop: marginsSize },
};

const gd: libGDevelop = global.gd;
Expand Down Expand Up @@ -149,7 +150,7 @@ const CompactInstancePropertiesEditor = ({
>
<ScrollView
autoHideScrollbar
style={{ paddingTop: marginsSize }}
style={styles.scrollView}
key={instances
.map((instance: gdInitialInstance) => '' + instance.ptr)
.join(';')}
Expand Down

0 comments on commit 4bd25e9

Please sign in to comment.