Fixed minimal microphone UI visual bug and updated the ChangeLog.md
This commit is contained in:
parent
25707f7273
commit
7af9aa85fc
4 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
||||||
# Changelog:
|
# Changelog:
|
||||||
* **11.08.20**
|
* **11.08.20**
|
||||||
- Fixed the voice push to talk delay
|
- Fixed the voice push to talk delay
|
||||||
/* FIXME: Newcomer modal with the microphone */
|
- Improved the microphone setting controller
|
||||||
|
- Heavily reworked the input recorder API
|
||||||
|
- Improved denied audio permission handling
|
||||||
|
|
||||||
* **09.08.20**
|
* **09.08.20**
|
||||||
- Added a "watch to gather" context menu entry for clients
|
- Added a "watch to gather" context menu entry for clients
|
||||||
- Disassembled the current client icon sprite into his icons
|
- Disassembled the current client icon sprite into his icons
|
||||||
|
|
|
@ -4,10 +4,10 @@ import {useContext} from "react";
|
||||||
const cssStyle = require("./Heighlight.scss");
|
const cssStyle = require("./Heighlight.scss");
|
||||||
|
|
||||||
const HighlightContext = React.createContext<string>(undefined);
|
const HighlightContext = React.createContext<string>(undefined);
|
||||||
export const HighlightContainer = (props: { children: React.ReactNode | React.ReactNode[], highlightedId?: string, onClick?: () => void }) => {
|
export const HighlightContainer = (props: { children: React.ReactNode | React.ReactNode[], classList?: string, highlightedId?: string, onClick?: () => void }) => {
|
||||||
return (
|
return (
|
||||||
<HighlightContext.Provider value={props.highlightedId}>
|
<HighlightContext.Provider value={props.highlightedId}>
|
||||||
<div className={cssStyle.container + " " + (props.highlightedId ? cssStyle.shown : "")} onClick={props.highlightedId ? props.onClick : undefined}>
|
<div className={cssStyle.container + " " + (props.highlightedId ? cssStyle.shown : "") + " " + props.classList} onClick={props.highlightedId ? props.onClick : undefined}>
|
||||||
{props.children}
|
{props.children}
|
||||||
<div className={cssStyle.background} />
|
<div className={cssStyle.background} />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
@import "../../../../css/static/properties";
|
@import "../../../../css/static/properties";
|
||||||
@import "../../../../css/static/mixin";
|
@import "../../../../css/static/mixin";
|
||||||
|
|
||||||
|
.highlightContainer {
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
|
@ -573,7 +573,7 @@ export const MicrophoneSettings = (props: { events: Registry<MicrophoneSettingsE
|
||||||
props.events.reactUse("notify_highlight", event => setHighlighted(event.field));
|
props.events.reactUse("notify_highlight", event => setHighlighted(event.field));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HighlightContainer highlightedId={highlighted} onClick={() => props.events.fire("action_help_click")}>
|
<HighlightContainer highlightedId={highlighted} onClick={() => props.events.fire("action_help_click")} classList={cssStyle.highlightContainer}>
|
||||||
<div className={cssStyle.container}>
|
<div className={cssStyle.container}>
|
||||||
<HelpText0/>
|
<HelpText0/>
|
||||||
<HighlightRegion className={cssStyle.left} highlightId={"hs-1"}>
|
<HighlightRegion className={cssStyle.left} highlightId={"hs-1"}>
|
||||||
|
|
Loading…
Add table
Reference in a new issue