mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Tweak to auto-position (IDE) - allows coordinates (0, 0).
This commit is contained in:
parent
cff8ae7561
commit
b62e39b9f9
|
@ -248,6 +248,7 @@ IF LoadedIDESettings = 0 THEN
|
|||
IDE_TopPosition = VAL(value$)
|
||||
ELSE
|
||||
IDE_Autopostion = 0 'If there's no position saved in the file, then we certainly don't need to try and auto-position to our last setting.
|
||||
IDE_TopPosition = 0
|
||||
WriteConfigSetting "'[IDE DISPLAY SETTINGS]", "IDE_TopPosition", "0"
|
||||
END IF
|
||||
|
||||
|
@ -256,6 +257,7 @@ IF LoadedIDESettings = 0 THEN
|
|||
IDE_LeftPosition = VAL(value$)
|
||||
ELSE
|
||||
IDE_Autopostion = 0 'If there's no position saved in the file, then we certainly don't need to try and auto-position to our last setting.
|
||||
IDE_LeftPosition = 0
|
||||
WriteConfigSetting "'[IDE DISPLAY SETTINGS]", "IDE_LeftPosition", "0"
|
||||
END IF
|
||||
|
||||
|
|
|
@ -915,9 +915,7 @@ gl_scan_header
|
|||
'-----------------------QB64 COMPILER ONCE ONLY SETUP CODE ENDS HERE---------------------------------------
|
||||
|
||||
IF NoIDEMode THEN IDE_AutoPosition = 0: GOTO noide
|
||||
IF IDE_AutoPosition <> 0 AND IDE_TopPosition <> 0 AND IDE_LeftPosition <> 0 THEN
|
||||
_SCREENMOVE IDE_LeftPosition, IDE_TopPosition
|
||||
END IF
|
||||
IF IDE_AutoPosition THEN _SCREENMOVE IDE_LeftPosition, IDE_TopPosition
|
||||
idemode = 1
|
||||
sendc$ = "" 'no initial message
|
||||
IF CMDLineFile <> "" THEN sendc$ = CHR$(1) + CMDLineFile
|
||||
|
|
Loading…
Reference in a new issue