Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0f160669
Commit
0f160669
authored
Apr 15, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(): zoom out tooltip fix, fixes #4729
parent
49b2743a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
public/app/features/dashboard/timepicker/timepicker.html
+1
-1
public/app/features/dashboard/timepicker/timepicker.ts
+1
-1
No files found.
public/app/features/dashboard/timepicker/timepicker.html
View file @
0f160669
...
...
@@ -3,7 +3,7 @@
<li
class=
"dashnav-move-timeframe gf-timepicker-time-control"
bs-tooltip=
"'Shift time backward <br> (left arrow key)'"
data-placement=
"bottom"
>
<a
ng-click=
'ctrl.move(-1)'
><i
class=
"fa fa-chevron-left"
></i></a>
</li>
<li
class=
"dashnav-zoom-out gf-timepicker-time-control"
bs-tooltip=
"'Time range zoom
in
<br> CTRL+Z'"
data-placement=
"bottom"
>
<li
class=
"dashnav-zoom-out gf-timepicker-time-control"
bs-tooltip=
"'Time range zoom
out
<br> CTRL+Z'"
data-placement=
"bottom"
>
<a
ng-click=
'ctrl.zoom(2)'
>
Zoom Out
</a></li>
</li>
<li
class=
"dashnav-move-timeframe gf-timepicker-time-control"
bs-tooltip=
"'Shift time forward <br> (right arrow key)'"
data-placement=
"bottom"
>
...
...
public/app/features/dashboard/timepicker/timepicker.ts
View file @
0f160669
...
...
@@ -92,7 +92,7 @@ export class TimePickerCtrl {
move
(
direction
)
{
var
range
=
this
.
timeSrv
.
timeRange
();
var
timespan
=
(
range
.
to
.
valueOf
()
-
range
.
from
.
valueOf
());
var
timespan
=
(
range
.
to
.
valueOf
()
-
range
.
from
.
valueOf
())
/
2
;
var
to
,
from
;
if
(
direction
===
-
1
)
{
to
=
range
.
to
.
valueOf
()
-
timespan
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment