Skip to content

Commit

Permalink
fix: 增加titlebar划过时title文案
Browse files Browse the repository at this point in the history
  • Loading branch information
xieerduos committed Sep 20, 2023
1 parent 215ee72 commit 053d92b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/renderer/index/components/TitleBar/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div class="titlebar-wrap region-drag">
<ul v-if="isWindows" class="titlebar-list">
<li class="titlebar-item not-drag auto-left" @click="minimizeWindow"><IconMinimize /></li>
<li class="titlebar-item not-drag" @click="toggleMaximize">
<li class="titlebar-item not-drag auto-left" @click="minimizeWindow" title="最小化"><IconMinimize /></li>
<li
class="titlebar-item not-drag"
@click="toggleMaximize"
:title="!isMaximized && !isFullScreen ? '最大化' : '向下还原'">
<IconMaximize v-if="!isMaximized && !isFullScreen" /> <IconRestore v-else />
</li>
<li class="titlebar-item is-close not-drag" :class="{'not-hover': isNotHover}" @click="closeWindow">
<li class="titlebar-item is-close not-drag" :class="{'not-hover': isNotHover}" @click="closeWindow" title="关闭">
<IconClose />
</li>
</ul>
Expand Down

0 comments on commit 053d92b

Please sign in to comment.