Skip to content

Commit

Permalink
RSDK-2959 - SLAM UI does not resize well (viamrobotics#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfranczak authored May 5, 2023
1 parent 50cf689 commit 6cc9e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions web/frontend/src/components/slam-2d-render.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ raycaster.on('click', (event: THREE.Event) => {
* svgLoader example for webgl:
* https://github.com/mrdoob/three.js/blob/master/examples/webgl_loader_svg.html
*/
//
const svgLoader = new SVGLoader();
const makeMarker = async (url : string, name: string, scalar: number) => {
const data = await svgLoader.loadAsync(url);
Expand Down Expand Up @@ -411,7 +410,7 @@ watch(() => props.pointCloudUpdateCount, () => {
<template>
<div
ref="container"
class="pcd-container relative w-full"
class="relative w-full"
>
<p class="absolute left-3 top-3 bg-white text-xs">
Grid set to 1 meter
Expand Down
2 changes: 1 addition & 1 deletion web/frontend/src/components/slam.vue
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ onUnmounted(() => {
/>
</div>
</div>
<div class="gap-4x border-medium justify-start sm:border-l">
<div class="gap-4x border-border-1 w-full justify-start sm:border-l">
<div
v-if="refreshErrorMessage2d && show2d"
class="border-l-4 border-red-500 bg-gray-100 px-4 py-3"
Expand Down

0 comments on commit 6cc9e53

Please sign in to comment.