Skip to content

Commit

Permalink
1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jlfwong committed Oct 29, 2018
1 parent 9961ed8 commit 23d4042
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
## Unreleased

## [1.3.0] - 2018-10-29

### Added

* Support import from Haskell GHC JSON format support [#183] (by @trishume)

### Fixed

* Make the wasd keymappings work on azerty keyboards [#184] (by @vrischmann)
* Fix import of binary formats via profileURL [#179] (by @f-hj)

## [1.2.0] - 2018-10-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "speedscope",
"version": "1.2.0",
"version": "1.3.0",
"description": "",
"repository": "jlfwong/speedscope",
"main": "index.js",
Expand Down
5 changes: 5 additions & 0 deletions src/views/flamechart-pan-zoom-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,11 @@ export class FlamechartPanZoomView extends Component<FlamechartPanZoomViewProps,

if (ev.ctrlKey || ev.shiftKey || ev.metaKey) return

// NOTE: We intentionally use ev.code rather than ev.key for
// WASD in order to have the keys retain the same layout even
// if the keyboard layout is not QWERTY.
//
// See: https://github.com/jlfwong/speedscope/pull/184
if (ev.key === '0') {
this.zoom(new Vec2(width / 2, height / 2), 1e9)
} else if (ev.key === 'ArrowRight' || ev.code === 'KeyD') {
Expand Down

0 comments on commit 23d4042

Please sign in to comment.