Skip to content

Commit

Permalink
smaller text size on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Uwe Fechner committed Jul 4, 2024
1 parent 90fa537 commit 2f2fbbe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/viewer3D.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. =#

if Sys.iswindows()
TEXT_SIZE::Int64 = 15
else
TEXT_SIZE::Int64 = 16
end
@consts begin
SCALE = 1.2
INITIAL_HEIGHT = 80.0*se().zoom # meter, for demo
Expand All @@ -29,7 +34,6 @@ SOFTWARE. =#
PLAYING = [false]
GUI_ACTIVE = [false]
AXIS_LABEL_SIZE = 30
TEXT_SIZE = 16
running = Observable(false)
starting = [0]
zoom = [1.0]
Expand Down

0 comments on commit 2f2fbbe

Please sign in to comment.