From c2692249f2e38a4354fda4f07c758c51608a6d71 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 23 Apr 2021 21:05:56 -0400 Subject: [PATCH] Updates --- public/configuration.json | 2 +- src/assets/styles/bootstrap/_variables.scss | 4 ++++ src/assets/styles/utils.scss | 7 +++++++ src/hooks/draggable-window/DraggableWindow.tsx | 2 ++ 4 files changed, 14 insertions(+), 1 deletion(-) diff --git a/public/configuration.json b/public/configuration.json index 631cb7cd..08aa7125 100644 --- a/public/configuration.json +++ b/public/configuration.json @@ -1,5 +1,5 @@ { - "socket.url": "wss://arcturus.habborw.com", + "socket.url": "wss://ws.nitrots.co:2096", "asset.url": "https://nitro-assets.hrw.pw", "image.library.url": "https://swf.hrw.pw/c_images/", "external.samples.url": "https://swf.hrw.pw/dcr/hof_furni/mp3/sound_machine_sample_%sample%.mp3", diff --git a/src/assets/styles/bootstrap/_variables.scss b/src/assets/styles/bootstrap/_variables.scss index 86fe284a..002f1a4e 100644 --- a/src/assets/styles/bootstrap/_variables.scss +++ b/src/assets/styles/bootstrap/_variables.scss @@ -263,6 +263,10 @@ $box-shadow-inset: inset 0px 0px 0px 2px rgba($white, 0.1) !default; $box-shadow-outset: 0px 2px 0px rgba($black, 0.45) !default; $box-shadow: $box-shadow-outset, $box-shadow-inset !default; +$box-shadow-right-inset: inset -2px 0px 0px 0px rgba($white, 0.1) !default; +$box-shadow-right-outset: 0px 0px 0px 2px rgba($black, 0.45) !default; +$box-shadow-right: $box-shadow-right-outset, $box-shadow-right-inset !default; + $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default; $component-active-color: $white !default; diff --git a/src/assets/styles/utils.scss b/src/assets/styles/utils.scss index 18beea0c..608e88ab 100644 --- a/src/assets/styles/utils.scss +++ b/src/assets/styles/utils.scss @@ -23,6 +23,13 @@ ul { } } +.cursor-pointer { + + &:hover { + cursor: pointer; + } +} + .pointer-events-none { pointer-events: none; } diff --git a/src/hooks/draggable-window/DraggableWindow.tsx b/src/hooks/draggable-window/DraggableWindow.tsx index 95bb5a2b..27d9da65 100644 --- a/src/hooks/draggable-window/DraggableWindow.tsx +++ b/src/hooks/draggable-window/DraggableWindow.tsx @@ -43,6 +43,8 @@ export function DraggableWindow(props: DraggableWindowProps): JSX.Element useEffect(() => { + if(!elementRef) return; + const element = elementRef.current; currentWindows.push(element);