Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dima Krasner
Sharkey
Commits
c8e93054
Commit
c8e93054
authored
3 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
fix(client): タッチ操作でウィンドウを閉じることができない問題を修正
parent
def32107
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
src/client/ui/_common_/header.vue
+8
-4
8 additions, 4 deletions
src/client/ui/_common_/header.vue
with
9 additions
and
4 deletions
CHANGELOG.md
+
1
−
0
View file @
c8e93054
...
...
@@ -20,6 +20,7 @@
-
DNSキャッシュでネガティブキャッシュをサポート
### Bugfixes
-
タッチ操作でウィンドウを閉じることができない問題を修正
-
Renoteされた時刻が投稿された時刻のように表示される問題を修正
-
ActivityPub: 長いユーザーの名前や自己紹介の対応
...
...
This diff is collapsed.
Click to expand it.
src/client/ui/_common_/header.vue
+
8
−
4
View file @
c8e93054
...
...
@@ -2,7 +2,7 @@
<div
class=
"fdidabkb"
:class=
"
{ center }" :style="`--height:${height};`" :key="key">
<transition
:name=
"$store.state.animation ? 'header' : ''"
mode=
"out-in"
appear
>
<div
class=
"buttons left"
v-if=
"backButton"
>
<button
class=
"_button button back"
@
click.stop=
"$emit('back')"
v-tooltip=
"$ts.goBack"
><i
class=
"fas fa-chevron-left"
></i></button>
<button
class=
"_button button back"
@
click.stop=
"$emit('back')"
@
touchstart=
"preventDrag"
v-tooltip=
"$ts.goBack"
><i
class=
"fas fa-chevron-left"
></i></button>
</div>
</transition>
<template
v-if=
"info"
>
...
...
@@ -20,10 +20,10 @@
</div>
<div
class=
"buttons right"
>
<template
v-if=
"info.actions && showActions"
>
<button
v-for=
"action in info.actions"
class=
"_button button"
:class=
"
{ highlighted: action.highlighted }" @click.stop="action.handler" v-tooltip="action.text">
<i
:class=
"action.icon"
></i></button>
<button
v-for=
"action in info.actions"
class=
"_button button"
:class=
"
{ highlighted: action.highlighted }" @click.stop="action.handler"
@touchstart="preventDrag"
v-tooltip="action.text">
<i
:class=
"action.icon"
></i></button>
</
template
>
<button
v-if=
"shouldShowMenu"
class=
"_button button"
@
click.stop=
"showMenu"
v-tooltip=
"$ts.menu"
><i
class=
"fas fa-ellipsis-h"
></i></button>
<button
v-if=
"closeButton"
class=
"_button button"
@
click.stop=
"$emit('close')"
v-tooltip=
"$ts.close"
><i
class=
"fas fa-times"
></i></button>
<button
v-if=
"shouldShowMenu"
class=
"_button button"
@
click.stop=
"showMenu"
@
touchstart=
"preventDrag"
v-tooltip=
"$ts.menu"
><i
class=
"fas fa-ellipsis-h"
></i></button>
<button
v-if=
"closeButton"
class=
"_button button"
@
click.stop=
"$emit('close')"
@
touchstart=
"preventDrag"
v-tooltip=
"$ts.close"
><i
class=
"fas fa-times"
></i></button>
</div>
</template>
</div>
...
...
@@ -122,6 +122,10 @@ export default defineComponent({
menu
=
menu
.
concat
(
this
.
menu
);
}
popupMenu
(
menu
,
ev
.
currentTarget
||
ev
.
target
);
},
preventDrag
(
ev
)
{
ev
.
stopPropagation
();
}
}
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment