[wesnoth-commits] [wesnoth/wesnoth] f9fc82: Display: Don't move the center of the viewport whe...

jostephd noreply at github.com
Tue Oct 15 01:10:19 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f9fc82d9b90421bd4dcf371162914e437a2abc3e
      https://github.com/wesnoth/wesnoth/commit/f9fc82d9b90421bd4dcf371162914e437a2abc3e
  Author: josteph <josteph at fastmail.com>
  Date:   2019-10-15 (Tue, 15 Oct 2019)

  Changed paths:
    M src/display.cpp
    M src/display.hpp
    M src/map/map.hpp

  Log Message:
  -----------
  Display: Don't move the center of the viewport when zooming in when the map is narrower/shorter than the viewport

In the test scenario, toggling between 50%/100% zoom on 1920x1080 will
now correctly switch between "Show the entire map" (50%) and "Show just
the center of the map" (100%).

Fixes #1951





More information about the Commits mailing list