Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove explicitly set background on board blocks #16

Merged
merged 2 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified examples/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use ratatui::{
layout::{Constraint, Direction, Layout},
prelude::{Alignment, Rect},
style::{Color, Style, Stylize},
style::{Style, Stylize},
text::{Line},
widgets::{Block, BorderType, Borders, Clear, Padding, Paragraph, Wrap},
Frame,
Expand Down Expand Up @@ -40,7 +40,7 @@ pub fn render(app: &mut App, frame: &mut Frame) {
.split(main_layout_horizontal[1]);

// Board block representing the full board div
let board_block = Block::default().style(Style::default().bg(Color::Black));
let board_block = Block::default().style(Style::default());

// We render the board_block in the center layout made above
frame.render_widget(board_block.clone(), main_layout_vertical[1]);
Expand Down
Loading