Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugs #5

Open
Christoph-AK opened this issue Jul 11, 2023 · 1 comment
Open

Bugs #5

Christoph-AK opened this issue Jul 11, 2023 · 1 comment

Comments

@Christoph-AK
Copy link
Contributor

  • mehrere Netzwerke -> Fehler beim Graph-Zeichnen
  • temp bei fehldenden Kern-sensoren:
    let ohw_opt = appdata.ohw_info.lock();
    let mut coretemps = get_coretemps(&ohw_opt);
    if coretemps.is_empty() {
        let cpu_temp = ohw_opt.parse_value_path_def("#0|+images_icon/cpu.png|Temperature|Core");
        for i in 0..appdata.system_status.cpus().len() {
            coretemps.push((i as i32, cpu_temp));
        }
    }
  • taskbarsize bei win10:
    let taskbarsize_main = 40.0; // FIXME: Win 10: 40, Win 11 70
@Christoph-AK
Copy link
Contributor Author

pub fn squash_value(input: f64) -> f64 {
    if input >= 0.0 {
        0.5 * (1.0 - 1.0 / (input + 1.0))
    } else {
        -0.5 * (1.0 - 1.0 / (-input + 1.0))
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant