Skip to content

Commit

Permalink
💄 Increase the precision of the location display
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Apr 2, 2023
1 parent 610d682 commit dfaf3b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textual_mandelbrot/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def on_mandelbrot_changed( self, event: Mandelbrot.Changed ) -> None:
event: The event with the change details.
"""
plot = self.query_one( Mandelbrot )
plot.border_title = f"{event.from_x:.6f}, {event.from_y:.6f} -> {event.to_x:.6f}, {event.to_y:.6f}"
plot.border_title = f"{event.from_x:.10f}, {event.from_y:.10f} -> {event.to_x:.10f}, {event.to_y:.10f}"
plot.border_subtitle = f"{event.multibrot} multibrot | {event.max_iteration} iterations"

##############################################################################
Expand Down

0 comments on commit dfaf3b7

Please sign in to comment.