Skip to content

Commit

Permalink
Add padding top to instance properties editor
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreSi committed Apr 29, 2024
1 parent 5b110f5 commit f45cbb6
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -12,7 +12,7 @@ import propertiesMapToSchema from '../../CompactPropertiesEditor/PropertiesMapTo
import { type Schema } from '../../CompactPropertiesEditor';
import getObjectByName from '../../Utils/GetObjectByName';
import IconButton from '../../UI/IconButton';
import { Line, Column, Spacer } from '../../UI/Grid';
import { Line, Column, Spacer, marginsSize } from '../../UI/Grid';
import Text from '../../UI/Text';
import { type UnsavedChanges } from '../../MainFrame/UnsavedChangesContext';
import ScrollView from '../../UI/ScrollView';
Expand Down Expand Up @@ -149,6 +149,7 @@ const CompactInstancePropertiesEditor = ({
>
<ScrollView
autoHideScrollbar
style={{ paddingTop: marginsSize }}
key={instances
.map((instance: gdInitialInstance) => '' + instance.ptr)
.join(';')}
Expand Down

0 comments on commit f45cbb6

Please sign in to comment.