mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Move all icon SVG imports to the Icon component
This change also removes the need to specify the icon size.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="menu-bar-input">
|
||||
<div class="entry"><GraphiteLogo width="16" height="16" /></div>
|
||||
<div class="entry"><Icon :icon="'GraphiteLogo'" /></div>
|
||||
<div class="entry"><span>File</span></div>
|
||||
<div class="entry"><span>Edit</span></div>
|
||||
<div class="entry"><span>Document</span></div>
|
||||
@@ -40,11 +40,11 @@
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
import Icon from "../labels/Icon.vue";
|
||||
import { ApplicationPlatform } from "../../window/MainWindow.vue";
|
||||
import GraphiteLogo from "../../../../assets/16px-solid/graphite-logo.svg";
|
||||
|
||||
export default defineComponent({
|
||||
components: { GraphiteLogo },
|
||||
components: { Icon },
|
||||
data() {
|
||||
return {
|
||||
ApplicationPlatform,
|
||||
|
||||
Reference in New Issue
Block a user