pixi-rainman-game-engine 0.1.26 → 0.1.28
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.
- package/dist/SettingsUI/SystemSettings/systemSettings.css +1 -0
- package/dist/SettingsUI/components/AutoplaySettings/autoplaySettings.css +2 -1
- package/dist/SettingsUI/components/Bet/bet.css +7 -6
- package/dist/SettingsUI/components/UXSettings/UXSettings.css +8 -2
- package/dist/SettingsUI/index.css +1 -0
- package/dist/components/buttons/default/VolumeButton.d.ts +1 -1
- package/dist/components/buttons/default/VolumeButton.js +1 -1
- package/dist/components/buttons/registrynames.d.ts +1 -0
- package/dist/components/buttons/registrynames.js +1 -0
- package/dist/controllers/AbstractController.d.ts +1 -0
- package/dist/controllers/AbstractController.js +9 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
width: 70%;
|
|
7
7
|
max-width: 800px;
|
|
8
8
|
justify-content: space-between;
|
|
9
|
+
overflow: auto;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
.autoplay-settings__title {
|
|
@@ -223,7 +224,7 @@
|
|
|
223
224
|
width: 100%;
|
|
224
225
|
flex-wrap: wrap;
|
|
225
226
|
height: fit-content;
|
|
226
|
-
|
|
227
|
+
margin-block: 8px;
|
|
227
228
|
}
|
|
228
229
|
|
|
229
230
|
.autoplay-settings__limit.circle p {
|
|
@@ -11,16 +11,17 @@
|
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
13
|
justify-content: center;
|
|
14
|
-
width:
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
min-width: 140px;
|
|
15
|
+
width: fit-content;
|
|
16
|
+
text-align: center;
|
|
17
|
+
height: fit-content;
|
|
18
|
+
border-radius: 32px;
|
|
17
19
|
border: 2px white;
|
|
18
20
|
border-style: solid;
|
|
19
|
-
margin: 0px 10px;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.bet-container__value p {
|
|
23
|
-
font-size:
|
|
24
|
+
font-size: 24px;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
.bet-container__button {
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
|
|
45
46
|
.bet-container__controls {
|
|
46
47
|
display: flex;
|
|
47
|
-
|
|
48
|
+
gap: 8px;
|
|
48
49
|
}
|
|
49
50
|
|
|
50
51
|
.bet-container__button:active {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
.ux-settings__switch {
|
|
12
|
-
width:
|
|
12
|
+
width: 100%;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.ux-settings__switch-container {
|
|
@@ -21,8 +21,14 @@
|
|
|
21
21
|
width: 100%;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@media only screen and (max-width:
|
|
24
|
+
@media only screen and (max-width: 900px) {
|
|
25
25
|
.ux-settings__switch {
|
|
26
26
|
width: 250px;
|
|
27
27
|
}
|
|
28
|
+
.ux-settings {
|
|
29
|
+
width: unset;
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
overflow-x: hidden;
|
|
32
|
+
padding: 0 30px;
|
|
33
|
+
}
|
|
28
34
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseButton } from "../BaseButton";
|
|
2
2
|
export declare class VolumeButton extends BaseButton {
|
|
3
|
-
static readonly registryName = "
|
|
3
|
+
static readonly registryName = "volumeButton";
|
|
4
4
|
private readonly normalTextureMap;
|
|
5
5
|
private readonly muteTextureMap;
|
|
6
6
|
constructor();
|
|
@@ -2,7 +2,7 @@ import { RainMan } from "../../../Rainman";
|
|
|
2
2
|
import { getTexture } from "../../../utils";
|
|
3
3
|
import { BaseButton, ButtonStates } from "../BaseButton";
|
|
4
4
|
export class VolumeButton extends BaseButton {
|
|
5
|
-
static registryName = "
|
|
5
|
+
static registryName = "volumeButton";
|
|
6
6
|
normalTextureMap;
|
|
7
7
|
muteTextureMap;
|
|
8
8
|
constructor() {
|
|
@@ -45,6 +45,7 @@ export declare abstract class AbstractController<T> {
|
|
|
45
45
|
private setupSpaceOrEnterListener;
|
|
46
46
|
private disableBetButtons;
|
|
47
47
|
private disableSpeedButton;
|
|
48
|
+
private disableInformationButtons;
|
|
48
49
|
protected handleDisablingButtons(disabled?: boolean): void;
|
|
49
50
|
private initButtons;
|
|
50
51
|
private initBetButtons;
|
|
@@ -109,9 +109,18 @@ export class AbstractController {
|
|
|
109
109
|
disableSpeedButton(shouldBeDisabled) {
|
|
110
110
|
RainMan.componentRegistry.get(SpeedControlButton.registryName).flipDisabledFlag(shouldBeDisabled);
|
|
111
111
|
}
|
|
112
|
+
disableInformationButtons(shouldBeDisabled) {
|
|
113
|
+
const buttonsToChange = [
|
|
114
|
+
RainMan.componentRegistry.get(BUTTONS.info),
|
|
115
|
+
RainMan.componentRegistry.get(BUTTONS.more),
|
|
116
|
+
RainMan.componentRegistry.get(BUTTONS.volume),
|
|
117
|
+
];
|
|
118
|
+
buttonsToChange.forEach((button) => button.flipDisabledFlag(shouldBeDisabled));
|
|
119
|
+
}
|
|
112
120
|
handleDisablingButtons(disabled) {
|
|
113
121
|
this.disableBetButtons(disabled ?? this.shouldBetButtonsBeDisabled);
|
|
114
122
|
this.disableSpeedButton(disabled ?? this.shouldButtonsBeDisabled);
|
|
123
|
+
this.disableInformationButtons(disabled ?? this.shouldButtonsBeDisabled);
|
|
115
124
|
}
|
|
116
125
|
initButtons() {
|
|
117
126
|
this.buttonsEventManager.initVolumeButtonEvent();
|
package/package.json
CHANGED