mirror of
https://github.com/mempool/mempool.git
synced 2026-08-18 13:08:44 +02:00
Merge pull request #1118 from nymkappa/bugfix/graph-scroll-main-page
Mouse scroll is not captured anymore by graphs in the dashboard page
This commit is contained in:
commit
8099349dcc
2 changed files with 4 additions and 0 deletions
|
|
@ -70,7 +70,9 @@ export class IncomingTransactionsGraphComponent implements OnInit, OnChanges {
|
|||
dataZoom: [{
|
||||
type: 'inside',
|
||||
realtime: true,
|
||||
zoomLock: (this.template === 'widget') ? true : false,
|
||||
zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
|
||||
moveOnMouseMove: (this.template === 'widget') ? true : false,
|
||||
maxSpan: 100,
|
||||
minSpan: 10,
|
||||
}, {
|
||||
|
|
|
|||
|
|
@ -285,7 +285,9 @@ export class MempoolGraphComponent implements OnInit, OnChanges {
|
|||
dataZoom: [{
|
||||
type: 'inside',
|
||||
realtime: true,
|
||||
zoomLock: (this.template === 'widget') ? true : false,
|
||||
zoomOnMouseWheel: (this.template === 'advanced') ? true : false,
|
||||
moveOnMouseMove: (this.template === 'widget') ? true : false,
|
||||
maxSpan: 100,
|
||||
minSpan: 10,
|
||||
}, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue