notedeck: include frame history

for debugging.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-03-29 10:08:49 -07:00
parent f36390d8f8
commit 418e08541d
12 changed files with 33 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
use notedeck_ui::colors::PINK;
use egui::{
Align, Button, Frame, Image, InnerResponse, Layout, RichText, ScrollArea, Ui, UiBuilder, Vec2,
};
use nostrdb::{Ndb, Transaction};
use notedeck::{Accounts, Images};
use notedeck_ui::colors::PINK;
use super::profile::preview::SimpleProfilePreview;

View File

@@ -0,0 +1 @@

View File

@@ -1,11 +1,11 @@
use std::collections::HashMap;
use notedeck_ui::colors::PINK;
use crate::relay_pool_manager::{RelayPoolManager, RelayStatus};
use crate::ui::{Preview, PreviewConfig, View};
use egui::{
Align, Button, CornerRadius, Frame, Id, Image, Layout, Margin, Rgba, RichText, Ui, Vec2,
};
use notedeck_ui::colors::PINK;
use enostr::RelayPool;
use notedeck::{Accounts, NotedeckTextStyle};

View File

@@ -193,7 +193,11 @@ fn goto_top_button(center: Pos2) -> impl egui::Widget {
});
let painter = ui.painter();
painter.circle_filled(center, helper.scale_1d_pos(radius), notedeck_ui::colors::PINK);
painter.circle_filled(
center,
helper.scale_1d_pos(radius),
notedeck_ui::colors::PINK,
);
let create_pt = |angle: f32| {
let side = radius / 2.0;