mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-14 06:46:36 +00:00
GH-430: Fixed 'Close' confirmation is ignored.
Updated to lates Theia: `1.11.0-next.c9db9754`. Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
e639d7da06
commit
516c79276c
@ -6,13 +6,13 @@ import { ThemeConfig } from 'react-select/src/theme';
|
|||||||
|
|
||||||
export class ArduinoSelect<T> extends Select<T> {
|
export class ArduinoSelect<T> extends Select<T> {
|
||||||
|
|
||||||
constructor(props: Readonly<Props<T>>) {
|
constructor(props: Readonly<Props<T, false>>) {
|
||||||
super(props);
|
super(props);
|
||||||
}
|
}
|
||||||
|
|
||||||
render(): React.ReactNode {
|
render(): React.ReactNode {
|
||||||
const controlHeight = 27; // from `monitor.css` -> `.serial-monitor-container .head` (`height: 27px;`)
|
const controlHeight = 27; // from `monitor.css` -> `.serial-monitor-container .head` (`height: 27px;`)
|
||||||
const styles: Styles = {
|
const styles: Styles<T, false> = {
|
||||||
control: styles => ({
|
control: styles => ({
|
||||||
...styles,
|
...styles,
|
||||||
minWidth: 120,
|
minWidth: 120,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user