Skip to content

Put max fontsize in one place, and made it 48#2794

Merged
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2711_bigger_allowed_fontsize
Oct 26, 2020
Merged

Put max fontsize in one place, and made it 48#2794
Dunbaratu merged 1 commit intoKSP-KOS:developfrom
Dunbaratu:fixes_2711_bigger_allowed_fontsize

Conversation

@Dunbaratu
Copy link
Member

Fixes #2711

While I was at it, I moved all the mentions of
font min and max size to one place to use the
same constant everywhere to fix the way the
mod disagreed with itself about the setting.

Fixes KSP-KOS#2711

While I was at it, I moved all the mentions of
font min and max size to one place to use the
same constant everywhere to fix the way the
mod disagreed with itself about the setting.
@Dunbaratu Dunbaratu added the enhancement Something new (not a bug fix) is being requested label Oct 26, 2020
AddConfigKey(PropId.TerminalDefaultWidth, new ConfigKey("TerminalDefaultWidth", "DEFAULTWIDTH", "Initial Terminal:WIDTH when a terminal is first opened", 50, 15, 255, typeof(int)));
AddConfigKey(PropId.TerminalDefaultHeight, new ConfigKey("TerminalDefaultHeight", "DEFAULTHEIGHT", "Initial Terminal:HEIGHT when a terminal is first opened", 36, 3, 160, typeof(int)));
AddConfigKey(PropId.SuppressAutopilot, new ConfigKey("SuppressAutopilot", "SUPPRESSAUTOPILOT", "Suppress all kOS autopiloting for emergency manual control", false, false, true, typeof(bool)));
AddConfigKey(PropId.EnableTelnet,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The git diff for these next few lines makes it look like I made a lot of changes, but mostly I just split up the very long lines into multiple lines, except for the change involving TerminalStruct.MAXCHARSIZE - those were real.

@Dunbaratu Dunbaratu merged commit f157461 into KSP-KOS:develop Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something new (not a bug fix) is being requested

Projects

None yet

Development

Successfully merging this pull request may close these issues.

config.xml TerminalFontDefaultSize continually overwritten with smaller value

1 participant