mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove copy-pasted comment
This commit is contained in:
parent
ba186e59cc
commit
e8e053095b
@ -5,18 +5,10 @@ use conrod_core::{
|
||||
widget_ids, Color, Colorable, Positionable, Rect, Sizeable, UiCell, Widget, WidgetCommon,
|
||||
};
|
||||
|
||||
/// Linear value selection.
|
||||
///
|
||||
/// If the slider's width is greater than its height, it will automatically become a horizontal
|
||||
/// slider, otherwise it will be a vertical slider.
|
||||
///
|
||||
/// Its reaction is triggered if the value is updated or if the mouse button is released while
|
||||
/// the cursor is above the rectangle.
|
||||
#[derive(Clone, WidgetCommon)]
|
||||
pub struct ImageFrame {
|
||||
#[conrod(common_builder)]
|
||||
common: widget::CommonBuilder,
|
||||
// TODO: use type that is not just an array
|
||||
// Edge images [t, b, r, l]
|
||||
edges: [image::Id; 4],
|
||||
edge_src_rects: [Option<Rect>; 4],
|
||||
|
Loading…
Reference in New Issue
Block a user