mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 16:38:13 +08:00
Additional improvements to license notice formatting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="menu-bar-input">
|
||||
<div class="entry-container">
|
||||
<div @click="() => window.open('https://www.graphite.design', '_blank')" class="entry">
|
||||
<div @click="visitWebsite('https://www.graphite.design')" class="entry">
|
||||
<IconLabel :icon="'GraphiteLogo'" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -174,6 +174,10 @@ export default defineComponent({
|
||||
if (menuEntry.ref) menuEntry.ref.setOpen();
|
||||
else throw new Error("The menu bar floating menu has no associated ref");
|
||||
},
|
||||
visitWebsite(url: string) {
|
||||
// This method is required because `window` isn't accessible from the Vue component HTML
|
||||
window.open(url, "_blank");
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user