mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-03 15:31:40 -05:00
Preserve the original Unicode symbols in source comments
This commit is contained in:
@@ -81,7 +81,7 @@ pub struct Behavior {
|
||||
pub default_page_gaps: Option<bool>,
|
||||
/// Full screen fills the screen with one page at a time (off keeps the page display).
|
||||
pub full_screen_fill: Option<bool>,
|
||||
/// Esc leaves full screen (off leaves it to ⌘L / Ctrl+L only).
|
||||
/// Esc leaves full screen (off leaves it to ⌘L / Ctrl+L only).
|
||||
pub full_screen_escape_exits: Option<bool>,
|
||||
pub units: Option<crate::units::Unit>,
|
||||
pub always_default_view: Option<bool>,
|
||||
@@ -445,7 +445,7 @@ pub fn theme_from_name(name: &str) -> Option<ModeChoice> {
|
||||
}
|
||||
}
|
||||
|
||||
/// A restored colour: an `[r, g, b]` array of finite numbers, each clamped to 0–1 (a hostile file
|
||||
/// A restored colour: an `[r, g, b]` array of finite numbers, each clamped to 0–1 (a hostile file
|
||||
/// must not hand the painter NaN or a huge value).
|
||||
pub(crate) fn rgb_triple(v: &Value) -> Option<[f64; 3]> {
|
||||
let a = v.as_array()?;
|
||||
|
||||
Reference in New Issue
Block a user