code: Fix typos
This commit is contained in:
parent
3cd96436f3
commit
5b3ad7c257
4 changed files with 6 additions and 6 deletions
|
|
@ -67,7 +67,7 @@ pub enum DecoderUpdate {
|
|||
Redraw,
|
||||
/// Start animation
|
||||
Animated,
|
||||
/// And error occured during decoding
|
||||
/// And error occurred during decoding
|
||||
Error(anyhow::Error),
|
||||
}
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ impl UpdateSender {
|
|||
}
|
||||
}
|
||||
|
||||
/// Send occuring errors to renderer
|
||||
/// Send occurring errors to renderer
|
||||
pub fn spawn_error_handled<F>(&self, f: F) -> glib::JoinHandle<()>
|
||||
where
|
||||
F: std::future::Future<Output = Result<(), glycin::Error>> + Send + 'static,
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ impl Tile {
|
|||
return;
|
||||
}
|
||||
|
||||
// TODO: do not clip outer bounderies of the image
|
||||
// TODO: do not clip outer boundaries of the image
|
||||
snapshot.push_clip(&area);
|
||||
// TODO: do not clip outer boundaries of the image
|
||||
if let Some(background_color) = &options.background_color {
|
||||
|
|
@ -465,7 +465,7 @@ impl Tiling {
|
|||
|
||||
/// Returns relevant tiles
|
||||
///
|
||||
/// This gives what tiles are needed for convering the `preload_area`.
|
||||
/// This gives what tiles are needed for covering the `preload_area`.
|
||||
/// Decoders use the [`TileInstructions`] to know what they have to render.
|
||||
pub fn relevant_tiles(&self, preload_area: &graphene::Rect) -> Vec<TileInstructions> {
|
||||
let original_width = self.scaled_dimensions().0 as f32;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue