Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
pejotejo committed Jun 12, 2024
1 parent 55d4f41 commit ddabdf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions tools/twix/src/panels/map/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ use serde_json::{from_value, json, Value};
use types::{self, field_dimensions::FieldDimensions};

use crate::{
nao::Nao,
panel::Panel,
twix_painter::TwixPainter,
value_buffer::ValueBuffer,
nao::Nao, panel::Panel, twix_painter::TwixPainter, value_buffer::ValueBuffer,
zoom_and_pan::ZoomAndPanManager,
};

Expand Down
2 changes: 1 addition & 1 deletion tools/twix/src/twix_painter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl<Frame> TwixPainter<Frame> {
self.painter.ctx()
}

pub fn is_right_handed(&self) -> bool{
pub fn is_right_handed(&self) -> bool {
self.camera_coordinate_system.y_scale() >= 0.0
}

Expand Down

0 comments on commit ddabdf7

Please sign in to comment.