fixes 9
This commit is contained in:
@@ -22,7 +22,6 @@ pub fn render_add_table(
|
|||||||
app_state: &AppState,
|
app_state: &AppState,
|
||||||
add_table_state: &mut AddTableState,
|
add_table_state: &mut AddTableState,
|
||||||
is_edit_mode: bool, // Determines if canvas inputs are in edit mode
|
is_edit_mode: bool, // Determines if canvas inputs are in edit mode
|
||||||
highlight_state: &HighlightState, // For text highlighting in canvas
|
|
||||||
) {
|
) {
|
||||||
// --- Configuration ---
|
// --- Configuration ---
|
||||||
// Threshold width to switch between wide and narrow layouts
|
// Threshold width to switch between wide and narrow layouts
|
||||||
|
|||||||
@@ -28,7 +28,6 @@ pub fn render_login(
|
|||||||
login_state: &LoginState,
|
login_state: &LoginState,
|
||||||
app_state: &AppState,
|
app_state: &AppState,
|
||||||
is_edit_mode: bool,
|
is_edit_mode: bool,
|
||||||
highlight_state: &HighlightState,
|
|
||||||
) {
|
) {
|
||||||
// Main container
|
// Main container
|
||||||
let block = Block::default()
|
let block = Block::default()
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ pub fn render_register(
|
|||||||
state: &RegisterState,
|
state: &RegisterState,
|
||||||
app_state: &AppState,
|
app_state: &AppState,
|
||||||
is_edit_mode: bool,
|
is_edit_mode: bool,
|
||||||
highlight_state: &HighlightState,
|
|
||||||
) {
|
) {
|
||||||
let block = Block::default()
|
let block = Block::default()
|
||||||
.borders(Borders::ALL)
|
.borders(Borders::ALL)
|
||||||
@@ -59,9 +58,6 @@ pub fn render_register(
|
|||||||
])
|
])
|
||||||
.split(inner_area);
|
.split(inner_area);
|
||||||
|
|
||||||
// --- FORM RENDERING (Using canvas library directly) ---
|
|
||||||
let canvas_highlight_state = convert_highlight_state(highlight_state);
|
|
||||||
|
|
||||||
// Wrap RegisterState in FormEditor
|
// Wrap RegisterState in FormEditor
|
||||||
let editor = FormEditor::new(state.clone());
|
let editor = FormEditor::new(state.clone());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user