cleanup: Eliminar prints de debug de investigación fondo azul
Eliminados std.debug.print con números mágicos 99999 y debug de focus/colores añadidos durante investigación del bug. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3d44631cc3
commit
a377a00803
1 changed files with 0 additions and 14 deletions
|
|
@ -80,12 +80,6 @@ pub fn advancedTableRect(
|
||||||
) AdvancedTableResult {
|
) AdvancedTableResult {
|
||||||
var result = AdvancedTableResult{};
|
var result = AdvancedTableResult{};
|
||||||
|
|
||||||
// DEBUG: Confirmar que este código se ejecuta - NUMERO MAGICO 99999
|
|
||||||
// Incluir puntero de table_state para detectar múltiples instancias
|
|
||||||
std.debug.print("[ADV-TABLE-99999] advancedTableRect ptr={*}, bounds=({},{},{},{})\n", .{
|
|
||||||
table_state, bounds.x, bounds.y, bounds.w, bounds.h,
|
|
||||||
});
|
|
||||||
|
|
||||||
if (bounds.isEmpty() or table_schema.columns.len == 0) return result;
|
if (bounds.isEmpty() or table_schema.columns.len == 0) return result;
|
||||||
|
|
||||||
// Get colors
|
// Get colors
|
||||||
|
|
@ -119,14 +113,6 @@ pub fn advancedTableRect(
|
||||||
const has_focus = ctx.hasFocus(widget_id);
|
const has_focus = ctx.hasFocus(widget_id);
|
||||||
table_state.focused = has_focus;
|
table_state.focused = has_focus;
|
||||||
|
|
||||||
// DEBUG: Estado de focus y colores
|
|
||||||
std.debug.print("[ADV-TABLE] has_focus={}, selected_row={}, row_normal=RGB({},{},{}), selected_row=RGB({},{},{})\n", .{
|
|
||||||
has_focus,
|
|
||||||
table_state.selected_row,
|
|
||||||
colors.row_normal.r, colors.row_normal.g, colors.row_normal.b,
|
|
||||||
colors.selected_row.r, colors.selected_row.g, colors.selected_row.b,
|
|
||||||
});
|
|
||||||
|
|
||||||
// Calculate dimensions
|
// Calculate dimensions
|
||||||
const state_col_w: u32 = if (config.show_row_state_indicators) config.state_indicator_width else 0;
|
const state_col_w: u32 = if (config.show_row_state_indicators) config.state_indicator_width else 0;
|
||||||
const header_h: u32 = if (config.show_headers) config.header_height else 0;
|
const header_h: u32 = if (config.show_headers) config.header_height else 0;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue