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
c4e7a3ae
Commit
c4e7a3ae
authored
Jul 29, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(png rendering): another fix for #5606
parent
6c2a6100
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
public/app/core/profiler.ts
+2
-1
No files found.
public/app/core/profiler.ts
View file @
c4e7a3ae
...
@@ -101,7 +101,8 @@ export class Profiler {
...
@@ -101,7 +101,8 @@ export class Profiler {
renderingCompleted
(
panelId
,
panelTimings
)
{
renderingCompleted
(
panelId
,
panelTimings
)
{
// add render counter to root scope
// add render counter to root scope
// used by phantomjs render.js to know when panel has rendered
// used by phantomjs render.js to know when panel has rendered
this
.
$rootScope
.
panelsRendered
=
this
.
panelsRendered
++
;
this
.
panelsRendered
=
(
this
.
panelsRendered
||
0
)
+
1
;
this
.
$rootScope
.
panelsRendered
=
this
.
panelsRendered
;
if
(
this
.
enabled
)
{
if
(
this
.
enabled
)
{
panelTimings
.
renderEnd
=
new
Date
().
getTime
();
panelTimings
.
renderEnd
=
new
Date
().
getTime
();
...
...
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