Skip to content

Commit

Permalink
fix stroke width
Browse files Browse the repository at this point in the history
  • Loading branch information
aspect committed Jan 23, 2024
1 parent 324a4de commit 44b0201
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
12 changes: 6 additions & 6 deletions core/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ pub fn window_frame(

if enable && !hide {
let mut stroke = ctx.style().visuals.widgets.noninteractive.fg_stroke;
// stroke.width = 0.5;
stroke.width = 1.0;

let rounding = if is_fullscreen || is_maximized {
0.0.into()

let (rounding,stroke_width) = if is_fullscreen || is_maximized {
(0.0.into(),0.0)
} else {
10.0.into()
(10.0.into(),1.0)
};

stroke.width = stroke_width;

let panel_frame = egui::Frame {
fill: ctx.style().visuals.window_fill(),
rounding,
Expand Down
7 changes: 7 additions & 0 deletions resources/i18n/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
"Use all available system memory": "Use all available system memory",
"Address:": "Address:",
"Headers": "Headers",
"Transactions:": "Transactions:",
"Custom": "Custom",
"Mainnet (Main Kaspa network)": "Mainnet (Main Kaspa network)",
"Please enter the wallet secret": "Please enter the wallet secret",
Expand All @@ -272,6 +273,7 @@
"Connection": "Connection",
"The node runs as a part of the Kaspa-NG application process. This reduces communication overhead (experimental).": "The node runs as a part of the Kaspa-NG application process. This reduces communication overhead (experimental).",
"Public Server": "Public Server",
"UTXOs:": "UTXOs:",
"Show balances in alternate currencies for testnet coins": "Show balances in alternate currencies for testnet coins",
"Testnet-11 (10 BPS)": "Testnet-11 (10 BPS)",
"If not specified, the account will be represented by the numeric id.": "If not specified, the account will be represented by the numeric id.",
Expand Down Expand Up @@ -313,6 +315,7 @@
"Metrics": "Metrics",
"Donations": "Donations",
"Account Name": "Account Name",
"Please enter": "Please enter",
"Bezier Curves": "Bezier Curves",
"Wallet password is used to encrypt your wallet data.": "Wallet password is used to encrypt your wallet data.",
"Enable gRPC": "Enable gRPC",
Expand All @@ -323,6 +326,7 @@
"Json Connection Attempts": "Json Connection Attempts",
"Services": "Services",
"Tools ⏷": "Tools ⏷",
"Network Fees:": "Network Fees:",
"Connects to a Remote Rusty Kaspa Node via wRPC.": "Connects to a Remote Rusty Kaspa Node via wRPC.",
"Enable Market Monitor": "Enable Market Monitor",
"Copy logs to clipboard": "Copy logs to clipboard",
Expand Down Expand Up @@ -357,6 +361,7 @@
"ECDSA": "ECDSA",
"Derivation Indexes": "Derivation Indexes",
"Continue": "Continue",
"Enter": "Enter",
"Enable experimental features": "Enable experimental features",
"Kaspa p2p Node": "Kaspa p2p Node",
"Enter wallet name": "Enter wallet name",
Expand Down Expand Up @@ -385,6 +390,7 @@
"Wallet Created": "Wallet Created",
"Build": "Build",
"Removes security restrictions, allows for single-letter passwords": "Removes security restrictions, allows for single-letter passwords",
"amount to send": "amount to send",
"Network Interface": "Network Interface",
"TPS": "TPS",
"Block Scale": "Block Scale",
Expand Down Expand Up @@ -420,6 +426,7 @@
"Bandwidth": "Bandwidth",
"Total Rx": "Total Rx",
"Default Account Name": "Default Account Name",
"Final Amount:": "Final Amount:",
"Enter the password to unlock your wallet": "Enter the password to unlock your wallet",
"Borsh Active Connections": "Borsh Active Connections",
"Theme Style:": "Theme Style:",
Expand Down

0 comments on commit 44b0201

Please sign in to comment.