You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by te...@apache.org on 2020/06/09 10:04:55 UTC
[incubator-streampipes] branch dev updated: prevent fast image
skipping, fix import order
This is an automated email from the ASF dual-hosted git repository.
tex pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new 781b7ae prevent fast image skipping, fix import order
new 73f5abc Merge remote-tracking branch 'origin/dev' into dev
781b7ae is described below
commit 781b7ae4e310e32ff4475c089645e38a30fd88c5
Author: tex <te...@fzi.de>
AuthorDate: Tue Jun 9 12:04:31 2020 +0200
prevent fast image skipping, fix import order
---
ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts | 2 +-
ui/src/app/core-ui/image/image-categorize/image-categorize.component.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts b/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
index 5784082..cd04b14 100644
--- a/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
+++ b/ui/src/app/core-ui/image/components/image-bar/image-bar.component.ts
@@ -67,7 +67,7 @@ export class ImageBarComponent implements OnInit {
@HostListener('document:keydown', ['$event'])
handleShortCuts(event: KeyboardEvent) {
- if (this.enableShortCuts) {
+ if (this.enableShortCuts && !event.repeat) {
const key = event.key;
switch (key.toLowerCase()) {
case 'q':
diff --git a/ui/src/app/core-ui/image/image-categorize/image-categorize.component.ts b/ui/src/app/core-ui/image/image-categorize/image-categorize.component.ts
index 9d39b8a..59bd6bb 100644
--- a/ui/src/app/core-ui/image/image-categorize/image-categorize.component.ts
+++ b/ui/src/app/core-ui/image/image-categorize/image-categorize.component.ts
@@ -18,8 +18,8 @@
import { AfterViewInit, Component, OnInit } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { DatalakeRestService } from '../../../core-services/datalake/datalake-rest.service';
-import { ColorService } from '../services/color.service';
import { TsonLdSerializerService } from '../../../platform-services/tsonld-serializer.service';
+import { ColorService } from '../services/color.service';
@Component({