@geode/opengeodeweb-front 10.28.0-rc.3 → 10.28.0-rc.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ import { microservicesMetadatasPath, projectMicroservices } from "./cleanup.js";
12
12
  import { executablePath } from "./path.js";
13
13
 
14
14
  const MILLISECONDS_PER_SECOND = 1000;
15
- const DEFAULT_TIMEOUT_SECONDS = 30;
15
+ const DEFAULT_TIMEOUT_SECONDS = 45;
16
16
 
17
17
  async function runScript(
18
18
  execPath,
@@ -6,15 +6,15 @@ const bgVal = BACKGROUND_GREY_VALUE / RGB_MAX;
6
6
  const BACKGROUND_COLOR = [bgVal, bgVal, bgVal];
7
7
  const actVal = ACTOR_DARK_VALUE / RGB_MAX;
8
8
  const ACTOR_COLOR = [actVal, actVal, actVal];
9
- const HOVER_THROTTLE_MS = 50;
10
9
  const HOVER_TIMEOUT_MS = 500;
11
10
  const WHEEL_TIME_OUT_MS = 600;
11
+ const HOVER_DEBOUNCE_MS = 50;
12
12
 
13
13
  export {
14
14
  ACTOR_COLOR,
15
15
  BACKGROUND_COLOR,
16
16
  BACKGROUND_GREY_VALUE,
17
- HOVER_THROTTLE_MS,
17
+ HOVER_DEBOUNCE_MS,
18
18
  HOVER_TIMEOUT_MS,
19
19
  RGB_MAX,
20
20
  WHEEL_TIME_OUT_MS,
@@ -1,4 +1,4 @@
1
- import { HOVER_THROTTLE_MS, HOVER_TIMEOUT_MS } from "./hybrid_viewer_constants";
1
+ import { HOVER_DEBOUNCE_MS, HOVER_TIMEOUT_MS } from "./hybrid_viewer_constants";
2
2
  import { database } from "@ogw_internal/database/database.js";
3
3
  import { performHoverHighlight } from "./hybrid_viewer";
4
4
 
@@ -28,7 +28,7 @@ function createHoverHighlight(options) {
28
28
  clearHoverData,
29
29
  } = options;
30
30
 
31
- return useThrottleFn((event) => {
31
+ return useDebounceFn((event) => {
32
32
  const containerElement = genericRenderWindow.value?.getContainer();
33
33
  let relativeMousePosition = { x: 0, y: 0 };
34
34
  if (containerElement) {
@@ -108,7 +108,7 @@ function createHoverHighlight(options) {
108
108
  }, HOVER_TIMEOUT_MS);
109
109
  },
110
110
  });
111
- }, HOVER_THROTTLE_MS);
111
+ }, HOVER_DEBOUNCE_MS);
112
112
  }
113
113
 
114
114
  export { createClearHoverData, createHoverHighlight };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-front",
3
- "version": "10.28.0-rc.3",
3
+ "version": "10.28.0-rc.5",
4
4
  "description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
6
6
  "bugs": {