mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix puzzle dlc: Buildings not lockable
This commit is contained in:
parent
9c247f3756
commit
e789a6c5ea
@ -53,8 +53,8 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
@include S(width, 40px);
|
@include S(width, 40px);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
|
||||||
@include S(height, 40px);
|
@include S(height, 40px);
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
color: $accentColorDark;
|
color: $accentColorDark;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -92,9 +92,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.unlocked {
|
&.unlocked {
|
||||||
@include S(border-radius, $globalBorderRadius * 0.9);
|
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
@include S(border-radius, $globalBorderRadius * 0.9);
|
||||||
|
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
transition: all 0.12s ease-in-out;
|
transition: all 0.12s ease-in-out;
|
||||||
transition-property: background-color, transform;
|
transition-property: background-color, transform;
|
||||||
@ -113,8 +113,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.selected {
|
&.selected {
|
||||||
|
.icon {
|
||||||
|
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
|
||||||
|
}
|
||||||
// transform: scale(1.05);
|
// transform: scale(1.05);
|
||||||
background-color: rgba(lighten($colorBlueBright, 9), 0.4);
|
|
||||||
// @include S(border-radius, $globalBorderRadius);
|
// @include S(border-radius, $globalBorderRadius);
|
||||||
|
|
||||||
.keybinding {
|
.keybinding {
|
||||||
|
@ -56,10 +56,6 @@ export class RestrictionManager extends ReadWriteProxy {
|
|||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
isLimitedVersion() {
|
isLimitedVersion() {
|
||||||
if (G_IS_STEAM_DEMO) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (G_IS_STANDALONE) {
|
if (G_IS_STANDALONE) {
|
||||||
// Standalone is never limited
|
// Standalone is never limited
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user