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

Fullscreen Resolution Slider #2642

Merged
merged 8 commits into from
Sep 15, 2024
Merged

Commits on Jan 31, 2024

  1. Add resolution control option

    The resolution controls would not fit in the allocated space, so I
    changed the rendering of slidercontrols to enable rendering the slider
    bar and the value text in the same area.
    
    Signed-off-by: MeeniMc <[email protected]>
    MeeniMc committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    f323d6d View commit details
    Browse the repository at this point in the history
  2. Reorder the resolution option close to the fullscreen button

    reduce the length of scrollbars so that it doesn't look as busy
    
    Signed-off-by: MeeniMc <[email protected]>
    MeeniMc committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    dc099be View commit details
    Browse the repository at this point in the history
  3. Strip the 24bit part of the resolution to reduce the text lenght so t…

    …hat the box can be reduced to avoid overlapping with the undo button.
    
    Signed-off-by: MeeniMc <[email protected]>
    MeeniMc committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    951f7cb View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. Configuration menu
    Copy the full SHA
    aa14bb8 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. Merge branch 'refs/heads/dev' into config/resolutionslider

    # Conflicts:
    #	src/main/java/net/caffeinemc/mods/sodium/client/gui/SodiumOptionsGUI.java
    #	src/main/java/net/caffeinemc/mods/sodium/client/gui/options/control/SliderControl.java
    douira committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    fbd2b9b View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. squashed series of commits to add a fullscreen resolution slider

    add two-line fullscreen resolution option
    
    remove two-line option but make it the normal style
    
    refactor label truncation and slider rendering to work together,
    this means the label will now be truncated based on the slider's current actual content width.
    other control elements can but don't have to implement accurate content width information.
    douira committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    c29a651 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cb97e9 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2024

  1. Configuration menu
    Copy the full SHA
    bcaae7f View commit details
    Browse the repository at this point in the history