Skip to content

Commit

Permalink
sleep is for weak people
Browse files Browse the repository at this point in the history
  • Loading branch information
TinyTakinTeller committed Aug 26, 2024
1 parent 43a26a8 commit 4dce1fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions global/const/game.gd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ const WORKER_RESOURCE_ID: String = "worker"
const WORKER_ROLE_RESOURCE: Array[String] = [WORKER_RESOURCE_ID, "swordsman"]

const VERSION_MAJOR: String = "prototype"
const VERSION_MINOR: String = "week 18.1"
const VERSION_MINOR: String = "week 18.2"

const PARAMS: Dictionary = PARAMS_PROD #PARAMS_PROD #PARAMS_DEBUG
const WEB_EXPORT_WORKAROUNDS: bool = false ## BEFORE EXPORTING TO WEB, SET TO TRUE

## BEFORE EXPORTING TO WEB (that uses iframe like e.g. itch.io), SET TO true
const WEB_EXPORT_WORKAROUNDS: bool = false

const PARAMS_DEBUG: Dictionary = {
"CLIPBOARD_WEB_WORKAROUND": WEB_EXPORT_WORKAROUNDS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ theme_override_constants/margin_bottom = 2

[node name="ImportButton" type="Button" parent="HBoxContainer/ImportMarginContainer"]
unique_name_in_owner = true
modulate = Color(0.110884, 0.492636, 0.821255, 1)
modulate = Color(0.878431, 0.878431, 0.392157, 1)
custom_minimum_size = Vector2(60, 0)
layout_mode = 2
theme_type_variation = &"ProgressButton"
Expand Down
7 changes: 5 additions & 2 deletions scenes/ui/save_file_modal/save_file_modal.gd
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ overlay.style.top = "0";
overlay.style.left = "0";
overlay.style.width = "100%";
overlay.style.height = "100%";
overlay.style.overflow = "auto";
overlay.style.backgroundColor = "rgba(0,0,0,0.5)";
overlay.style.zIndex = "9999"; // Ensure it's on top of other content
Expand All @@ -223,10 +224,11 @@ modal.style.padding = "20px";
modal.style.borderRadius = "8px";
modal.style.boxShadow = "0 2px 10px rgba(0, 0, 0, 0.1)";
modal.style.zIndex = "10000"; // Above the overlay
modal.style.minWidth = "500px"; // Set minimum width for the modal
modal.style.minWidth = "50px"; // Set minimum width for the modal
modal.style.maxWidth = "80%"; // Limit modal width to a percentage of the viewport
modal.style.maxHeight = "80%"; // Limit modal height to a percentage of the viewport
modal.style.overflowY = "auto"; // Scroll if content is too long
modal.style.overflow = "auto";
// Create the title element
var modalTitle = document.createElement("h2");
Expand All @@ -246,7 +248,8 @@ modalSubtitle.style.color = "lightgray"; // Light gray text color for the subtit
var textArea = document.createElement("textarea");
textArea.value = "{input}"
textArea.style.width = "100%"; // Make textarea full width
textArea.style.height = "275px"; // Set a fixed height for the textarea
textArea.style.height = "100%"; // Make textarea full width
textArea.style.minHeight = "50px"; // Set a fixed height for the textarea
textArea.style.backgroundColor = "#444"; // Darker gray background for textarea
textArea.style.color = "white"; // White text color
textArea.style.border = "2px solid #666"; // Add a default border color
Expand Down

0 comments on commit 4dce1fd

Please sign in to comment.