notedeck: include frame history
for debugging. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user