mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00
Update icon
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
import React from 'react';
|
||||
import SvgIcon from '@material-ui/core/SvgIcon';
|
||||
|
||||
export default React.memo(props => (
|
||||
<SvgIcon {...props} width="16" height="16" viewBox="-1 -1 18 18" fill="none">
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M3.33337 4.5C3.33337 3.48748 4.15418 2.66666 5.16671 2.66666H9.33337C9.46598 2.66666 9.59316 2.71934 9.68693 2.81311L12.5203 5.64644C12.614 5.74021 12.6667 5.86739 12.6667 6V11.5C12.6667 12.5125 11.8459 13.3333 10.8334 13.3333H5.16671C4.15419 13.3333 3.33337 12.5125 3.33337 11.5V4.5ZM5.16671 3.66666C4.70647 3.66666 4.33337 4.03976 4.33337 4.5V11.5C4.33337 11.9603 4.70646 12.3333 5.16671 12.3333H10.8334C11.2936 12.3333 11.6667 11.9603 11.6667 11.5V6.2071L9.12627 3.66666H5.16671Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M9.16671 2.83333C9.44285 2.83333 9.66671 3.05719 9.66671 3.33333V5.66666H12C12.2762 5.66666 12.5 5.89052 12.5 6.16666C12.5 6.44281 12.2762 6.66666 12 6.66666H9.16671C8.89056 6.66666 8.66671 6.44281 8.66671 6.16666V3.33333C8.66671 3.05719 8.89056 2.83333 9.16671 2.83333Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M6.00004 10.1667C6.00004 9.89052 6.2239 9.66666 6.50004 9.66666H9.50004C9.77618 9.66666 10 9.89052 10 10.1667C10 10.4428 9.77618 10.6667 9.50004 10.6667H6.50004C6.2239 10.6667 6.00004 10.4428 6.00004 10.1667Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
d="M6.00004 8.16666C6.00004 7.89052 6.2239 7.66666 6.50004 7.66666H9.50004C9.77618 7.66666 10 7.89052 10 8.16666C10 8.44281 9.77618 8.66666 9.50004 8.66666H6.50004C6.2239 8.66666 6.00004 8.44281 6.00004 8.16666Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</SvgIcon>
|
||||
));
|
15
newIDE/app/src/UI/CustomSvgIcons/History.js
Normal file
15
newIDE/app/src/UI/CustomSvgIcons/History.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
import SvgIcon from '@material-ui/core/SvgIcon';
|
||||
|
||||
export default React.memo(props => (
|
||||
<SvgIcon {...props} width="16" height="16" viewBox="-1 -1 18 18" fill="none">
|
||||
<path
|
||||
d="M0.833328 8C0.833328 4.04196 4.04195 0.833336 7.99999 0.833336C11.5931 0.833336 14.5678 3.47711 15.0866 6.92562C15.1277 7.19869 14.9396 7.45336 14.6666 7.49444C14.3935 7.53552 14.1388 7.34745 14.0978 7.07438C13.6515 4.10788 11.0909 1.83334 7.99999 1.83334C4.59424 1.83334 1.83333 4.59424 1.83333 8C1.83333 11.4057 4.59424 14.1667 7.99999 14.1667C10.2473 14.1667 12.2147 12.9645 13.2927 11.1667H11.3333C11.0572 11.1667 10.8333 10.9428 10.8333 10.6667C10.8333 10.3905 11.0572 10.1667 11.3333 10.1667H14.101C14.1084 10.1665 14.1159 10.1665 14.1234 10.1667H14.2667C14.7637 10.1667 15.1667 10.5696 15.1667 11.0667V14C15.1667 14.2761 14.9428 14.5 14.6667 14.5C14.3905 14.5 14.1667 14.2761 14.1667 14V11.6535C12.9182 13.7562 10.6243 15.1667 7.99999 15.1667C4.04195 15.1667 0.833328 11.958 0.833328 8Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
d="M7.99999 3.5C8.27614 3.5 8.49999 3.72386 8.49999 4V7.5H12C12.2761 7.5 12.5 7.72386 12.5 8C12.5 8.27614 12.2761 8.5 12 8.5H7.99999C7.72385 8.5 7.49999 8.27614 7.49999 8V4C7.49999 3.72386 7.72385 3.5 7.99999 3.5Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</SvgIcon>
|
||||
));
|
@@ -24,7 +24,7 @@ import {
|
||||
shouldValidate,
|
||||
} from '../UI/KeyboardShortcuts/InteractionKeys';
|
||||
import TextField, { type TextFieldInterface } from '../UI/TextField';
|
||||
import FileWithLines from '../UI/CustomSvgIcons/FileWithLines';
|
||||
import HistoryIcon from '../UI/CustomSvgIcons/History';
|
||||
import type { OpenedVersionStatus } from '.';
|
||||
import GDevelopThemeContext from '../UI/Theme/GDevelopThemeContext';
|
||||
import Chip from '../UI/Chip';
|
||||
@@ -249,7 +249,7 @@ const ProjectVersionRow = ({
|
||||
<div style={styles.restoredVersionContainer}>
|
||||
<LineStackLayout noMargin alignItems="center">
|
||||
<div style={styles.iconContainer}>
|
||||
<FileWithLines fontSize="inherit" />
|
||||
<HistoryIcon fontSize="inherit" />
|
||||
</div>
|
||||
<Text noMargin>
|
||||
{version.restoredFromVersion.label ||
|
||||
|
Reference in New Issue
Block a user